报错和解决
文章平均质量分 64
报错和解决
夜中听雪
Java后台方向。研一ing。
展开
-
解决方法:命令提示符找到端口号并终止进程。IDEA报错:Web server failed to start. Port 9000 was already in use.
IDEA启动项目时报错Web server failed to start. Port 9000 was already in use.解决方法第一步:以管理员身份运行"命令提示符"。具体:右键点击左下角的Windows标志->点击"搜索"->输入"cmb"->右击"命令提示符"->选择"以管理员身份运行"。第二步:找到端口号对应的进程并终止掉。C:\Users\dell>netstat -ano|findstr 9000 TCP 0.0.0.0:900原创 2022-03-18 00:15:37 · 3197 阅读 · 0 评论 -
DBeaver连接Oracle Express Edition报错:1、driver instance,2、Listener refused the connection:ORA-12514
DBeaver连接Oracle Express Edition报错:1、Can’t create driver instance,2、Listener refused the connection:ORA-12514。原创 2021-12-31 12:33:40 · 11411 阅读 · 1 评论 -
使用Mybatis实现CURD后,新增几张表用MybatisPlus实现CURD
同时使用Mybatis和MybatisPlus时。报错与解决:1、org.apache.ibatis.binding.BindingException。2、org.springframework.beans.factory.UnsatisfiedDependencyException。原创 2021-08-07 05:31:44 · 515 阅读 · 0 评论 -
Failed to convert property value of type ‘java.lang.String‘ to required type ‘int‘ for property
前端由ajax传递参数,后端由User对象接收所有参数。String->int。String->Date。原创 2021-07-27 17:50:28 · 4577 阅读 · 0 评论 -
@ResponseBody返回JSON数据,360安全浏览器弹出下载页面
@ResponseBody返回JSON数据,360安全浏览器弹出下载页面,chrome浏览器正常显示。问题重现。解决方法。原创 2021-05-31 23:28:40 · 790 阅读 · 3 评论 -
Spring可执行定时任务的线程池ThreadPoolTaskScheduler报错:required a bean of type that could not be found.
Field taskScheduler in com.nowcoder.community.event.EventConsumer required a bean of type 'org.springframework.scheduling.concurrent.ThreadPoolTaskScheduler' that could not be found.原创 2021-05-19 16:45:37 · 5239 阅读 · 1 评论 -
重启Linux服务器上的elasticsearch时,需要做的步骤
错误一:can not run elasticsearch as root。错误二:{"error":{"root_cause":[{"type":"master_not_discovered_exception","reason":null}],"type":"master_not_discovered_exception","reason":null},"status":503}重启es时,需要做以下步骤。原创 2021-05-18 17:59:09 · 97828 阅读 · 4 评论 -
maven打包错误: Failed to execute goal org.apache.maven.plugins:maven-resources-plugin:3.2.0:resources
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-resources-plugin:3.2.0:resources (default-resources) on project community: Input length = 1 -> [Help 1]转载 2021-05-18 19:59:47 · 6303 阅读 · 4 评论 -
ElasticSearch创建索引报错:ElasticsearchStatusException[type=resource_already_exists_exception, reason=inde
ElasticsearchStatusException[Elasticsearch exception [type=resource_already_exists_exception, reason=index [discusspost/3IyXwPzXQ06z7uwDN-z5Zw] already exists]]原创 2021-05-18 11:37:35 · 146061 阅读 · 12 评论 -
服务器上Kafka启动报错:error=‘Cannot allocate memory‘ (errno=12)
解决问题思路:大问题拆小问题。从源头开始测试是在哪一步出了问题。正面例子:从服务器上部署的项目的log_error.log中发现是Kafka出现了问题->立刻测试Kafka有无启动成功->没有就后台启动转为前台启动,方便查看报错信息->通过报错信息解决问题。原创 2021-05-17 20:28:45 · 2129 阅读 · 1 评论 -
服务器上的MySQL启动失败:Starting MySQL...The server quit without updating PID file
mysql日志报错:Bind on unix socket: Address already in use。解决方法:删除/tmp目录下的四个文件:mysql.sock.lock、mysql.sock、mysqlx.sock.lock、mysqlx.sock。原创 2021-05-17 11:01:50 · 3538 阅读 · 1 评论 -
SpringBoot项目启动报错:javax.mail.AuthenticationFailedException: 535 5.7.8 authentication failed
完整报错。解决步骤:1、获取授权码,以新浪邮箱举例。2、spring.mail.password=刚才复制的授权码。原创 2021-05-05 19:12:07 · 3145 阅读 · 2 评论 -
o.s.b.d.LoggingFailureAnalysisReporter。Invalid mapping pattern detected: /**/*.css。No more pattern。。
o.s.b.d.LoggingFailureAnalysisReporter。Invalid mapping pattern detected: /**/*.css。No more pattern data allowed after {*...} or ** pattern element。APPLICATION FAILED TO START转载 2021-04-22 20:10:18 · 2204 阅读 · 0 评论