logo
publist
写文章

简介

该用户还未填写简介

擅长的技术栈

可提供的服务

暂无可提供的服务

Tomcat 启动卡住,日志显示 At least one JAR was scanned for TLDs yet contained no TLDs.

Tomcat 启动后,控制台输出卡在了:因为应用一直没有成功,并且控制台输出上述信息后就停止了,就理所应当的以为卡住的原因就是它,然后疯狂的百度/谷歌/GPT关键字,各种方法都试过了,但是都没有效果,还是卡着不动。使用获取当前 Java 进程的堆栈信息,发现是应用本身卡在了 *** 连接上,和 Tomcat 最后卡住的日志无任何关系。日志和问题,有时候并不是因果。程序没有反应,jstack 往往是

文章图片
#tomcat#java
nginx 配置监听端口出现 nginx: [emerg] bind() to 0.0.0.0:8081 failed (13: permission denied) SELinux

场景nginx配置8081端口监听,通过查看日志,出现nginx: [emerg] bind() to 0.0.0.0:8081 failed (13: permission denied)异常。但是其它端口监听/访问正常。解决方案检查已开放端口sudo semanage port -l | grep http_port_t如果8081端口未出现在列表中,则执行:sudo seman...

Vue子组件传值 Expected String, got Function.异常

现象父组件引入子组件,子组件props中有title属性,这个title需要通过http请求确定。父组件中data定义:data: function () {return {title: String}}子组件定义:<p-table v-bind:title="$data.title"></p-table>解决...

kafka启动报错Native memory allocation (mmap) failed to map 1073741824 bytes for

环境说明使用了腾讯云的免费试用的1CPU/1GB服务器,通过bin/kafka-server-start.sh config/server.properties命令启动kafka服务,出现以下错误:OpenJDK 64-Bit Server VM warning: If the number of processors is expected to increase from one, the..

#kafka
Nginx 启动报错 directive is not allowed here in

Nginx 启动报错 "worker_processes" directive is not allowed here in

#nginx
Vue Cannot read property 'xxx' of undefined解决办法

问题场景使用{{}}文本插值方式,通过.级联显示内容。如下代码,foo通过后端接口返回。后端内容返回之前,控制台会Cannot read property ‘xxx’ of undefined的错误。<div><h1>{{ foo.title }}</h1><p>{{ foo.descr

Nginx 启动报错 directive is not allowed here in

Nginx 启动报错 "worker_processes" directive is not allowed here in

#nginx
到底了