![](https://img-blog.csdnimg.cn/20201014180756738.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
exception
文章平均质量分 56
禅剑一如
这个作者很懒,什么都没留下…
展开
-
kafka使用问题
一、问题: kafka不能正常启动1. 异常详情kafka.common.InconsistentClusterIdException: The Cluster ID q_eIUS4VQxiFcjs_z3_JmA doesn't match stored clusterId Some(SjgZDLsaS_WMOGezin15BQ) in meta.properties. The brok...原创 2020-04-25 16:19:05 · 307 阅读 · 0 评论 -
springboot整合websocket异常集合
环境背景:JDK13、IDEA2019.2.4、maven3.6.1、springboot2.2.1.RELEASE、异常一:java.lang.IllegalStateException: No suitable default RequestUpgradeStrategy found异常背景:启动主程序时报错异常详情:E:\jdk\jdk-13.0.1\bin\java.ex...原创 2019-12-15 18:05:01 · 3745 阅读 · 1 评论 -
springboot集成graphql异常集合
环境背景:JDK11+、springboot-2.2.0.RELEASE、graphiql-spring-boot-starter-5.10.0、graphql-java-2019-10-31T04-37-48-0919e71一、java.lang.IllegalStateException: javax.websocket.server.ServerContainer not availab...原创 2019-11-21 23:11:23 · 1970 阅读 · 0 评论 -
springboot集成jooq异常集合
环境背景:jdk13、apache-maven-3.6.2、IDEA2019.2.4、springboot-2.2.0.RELEASE、jooq3.12.2一、Error running jOOQ code generation tool1. 异常背景:通过jooq-codegen-maven插件生成代码时报错2. 异常详情Failed to execute goal org...原创 2019-11-20 10:28:22 · 3657 阅读 · 0 评论 -
springboot集成flyway异常集合
环境背景:jdk13、apache-maven-3.6.2、IDEA2019.2.4、springboot-2.2.0.RELEASE、flyway6.0.7一、Unable to connect to the database. Configure the url, user and password!1. 异常背景:通过flyway-maven-plugin插件执行clean操作...原创 2019-11-20 09:57:18 · 12635 阅读 · 1 评论 -
spring注入静态变量
spring注入静态变量为null被spring注入静态变量坑的不要不要的,这是第二次,第一次是自己解决了,由于时间和保存记录的缘故,第二次发生时,竟然不记得曾经遇到这么一个坑了,最后还是在以前同事的帮助下,才找到问题的所在,静态变量注入下面是原来写法,其他部分代码省略@Componentpublic class CustomizeRedisTemplate { @Suppr...原创 2018-10-26 17:34:39 · 1115 阅读 · 0 评论 -
redis cluster info显示cluster_state:fail解决方案
1、查看错误信息:1.1 错误信息(1)127.0.0.1:7000> get name(error) CLUSTERDOWN The cluster is down127.0.0.1:7000> cluster infocluster_state:failcluster_slots_assigned:16380cluster_slots_ok:16380clus...原创 2018-10-26 14:24:59 · 13812 阅读 · 0 评论 -
IDEA使用异常集合
一、lambda 使用异常1.异常背景:IDEA使用lambda表达式时出现编译异常2.异常详情:lambda expressions are not supported at language level '5'3.解决方法:pom.xml文件引入依赖 <build> <plugins> <plug...原创 2019-09-27 00:40:01 · 184 阅读 · 0 评论 -
dubbo2.7.3使用过程问题集合
一、IOException parsing XML document from class path resource [com/zsx/provider.xml]; nested exception is java.io.FileNotFoundException: class path resource [com/zsx/provider.xml] cannot be opened becau...原创 2019-09-11 16:13:12 · 19950 阅读 · 1 评论 -
docker操作异常集合
1. 使用数据卷启动服务时出现异常docker service create -d --replicas=4 --name devtest-service --mount source=myvol2,target=/app nginx:latest1.1 异常详情:Error response from daemon: This node is not a swarm manag...原创 2019-08-13 09:58:23 · 645 阅读 · 0 评论 -
springcloud异常整理
一、启动主程序报错1. 异常:找不到或无法加载主类错误: 找不到或无法加载主类 com.zsx.EurekaServerApplication原因: java.lang.ClassNotFoundException: com.zsx.EurekaServerApplicationProcess finished with exit code 12. 背景:单个spring-c...原创 2019-07-29 18:10:00 · 2019 阅读 · 0 评论 -
springboot整合oauth2异常集合
一、1. 背景:win10、java11,springboot2.1.6整合oauth2,启动项目时出现异常2. 异常描述:Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanCreationExcept...原创 2019-07-16 10:30:45 · 2053 阅读 · 0 评论 -
创建自签名证书命令异常记录
一、1.1.异常情况:unable to load Private Key6900:error:28078065:UI routines:UI_set_result_ex:result too small:crypto\ui\ui_lib.c:903:You must type in 4 to 1023 charactersunable to load Private Key6900...原创 2019-06-28 10:13:51 · 5980 阅读 · 1 评论 -
JUnit测试异步方法问题
参考案例:https://stackoverflow.com/questions/631598/how-to-use-junit-to-test-asynchronous-processes通过注解@Async的异步方法,在Junit5测试时,数据一直保存不到mongodb数据库中 @Async public CompletableFuture<Integer> addUs...原创 2019-06-27 17:15:36 · 3594 阅读 · 3 评论 -
Mongodb4.0使用问题记录
1. mongod和mongomongod官方文档描述地址:https://docs.mongodb.com/manual/reference/program/mongod.exe/index.htmlhttps://docs.mongodb.com/manual/reference/program/mongod/#bin.mongodSynopsismongod is the p...原创 2019-06-27 10:38:52 · 669 阅读 · 0 评论 -
ubuntu操作问题
1.操作权限不足提示:can't open file for writing解决:使用sudo权限去操作2. 通过smartty连接,非正常退出(背景:通过命令sudo touch test.sh准备创建文件,提示输入密码时直接关闭)提示:cannot access .ssh directory...原创 2019-06-21 10:16:51 · 313 阅读 · 0 评论 -
eclipse Run As Eclipse Application报错
制作eclipse启动时间插件时报错:1. %1 不是有效的 Win32 应用程序。no swt-win32 in java.library.path!SESSION 2018-12-13 14:23:28.877 -----------------------------------------------eclipse.buildId=4.7.3.M20180330-0640ja...原创 2018-12-14 14:22:33 · 1626 阅读 · 0 评论 -
springboot出现异常整合
1.缺少注解@SpringBootApplication异常:org.springframework.context.ApplicationContextException: Unable to start web server; nested exception is org.springframework.context.ApplicationContextException: Unabl...原创 2019-06-16 23:19:55 · 2041 阅读 · 0 评论