Exception
东芃9394
佛说淘沙始见金。
展开
-
SpringBoot引入seata后造成异常
SpringBoot引入seata后造成数据库异常原创 2022-08-23 11:11:53 · 1051 阅读 · 0 评论 -
docker下使用seata异常
docker下seata注册进nacos注意原创 2022-08-23 11:05:54 · 1086 阅读 · 0 评论 -
异常:nested exception is java.lang.NoSuchFieldError: DEFAULT_SHUTDOWN_QUIET_PERIOD
Spring Cloud Gateway或者SpringBoot启动异常原创 2022-08-23 10:56:45 · 1744 阅读 · 0 评论 -
静态工具类使用单例对象线程安全问题注意1
1.记录问题1.1工具类代码public static SimpleDateFormat sdfTest = new SimpleDateFormat("yyyy年MM月dd日"); public static Date selectDate(String stageDuring) { try { System.out.println(Thread.currentThread().getId()+"==睡眠前=="+stageDuring); Thread.sleep(10*10原创 2021-10-23 17:51:10 · 4276 阅读 · 0 评论 -
搭建kubenates-err1
异常内容:W0801 09:20:29.965243 2958 join.go:346] [preflight] WARNING: JoinControlPane.controlPlane settings will be ignored when control-plane flag is not set.[preflight] Running pre-flight checks [WARNING IsDockerSystemdCheck]: detected "cgroupfs" as原创 2021-08-01 17:31:39 · 411 阅读 · 0 评论 -
javax.jms.JMSException: Failed to create session factory
异常信息:14:49:58.273 [RMI TCP Connection(3)-192.168.134.1] WARN o.s.b.actuate.jms.JmsHealthIndicator - JMS health check failedjavax.jms.JMSException: Failed to create session factory at org.apache.activemq.artemis.jms.client.ActiveMQConnectionFactory.crea原创 2020-12-25 14:53:01 · 4220 阅读 · 0 评论 -
Unsatisfied dependency expressed through field ‘authorizationServerTokenServices‘
使用SpringSecurityOauth2启动异常:ConfigServletWebServerApplicationContext : Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name ‘openId原创 2020-12-03 14:57:22 · 1546 阅读 · 0 评论 -
openfeign 找不到 @FeignClient 注册的组件
标题@EnableFeignClients注解注意该注解使用时请注意,如果在子包中使用,一定将Application类拿到外面,否则报找不到@FeignClient注册组件报错openfeign默认不支持Get请求,可以使用以下配置:原创 2020-11-15 00:46:53 · 642 阅读 · 0 评论 -
ConflictingBeanDefinitionException: Annotation-specified bean name ‘imageLoader‘ for bean class [com
异常信息:org.springframework.context.annotation.ConflictingBeanDefinitionException: Annotation-specified bean name ‘imageLoader’ for bean class [com.sun.javafx.tk.ImageLoader] conflicts with existing, non-compatible bean definition of same name and class [com原创 2020-11-14 22:55:57 · 689 阅读 · 0 评论 -
Consider defining a bean of type ‘java.util.List‘ in your configuration.
异常信息:[zxl-sso-server:192.168.1.157:3333:dev] 2020-11-14 18:02:27.897 WARN 6472 [restartedMain][558][refresh] org.springframework.boot.web.servlet.context.AnnotationConfigServletWebServerApplicationContext Exception encountered during context initialization原创 2020-11-14 18:09:23 · 7989 阅读 · 0 评论 -
新版MySQL ERROR 1819 (HY000): Your password does not satisfy the current policy requirements
新版本MySQL8.0最近的版本设置密码,要求会更加严格很多博客提到set global validate_password.length=1;set global validate_password.policy=0;但是现在仍旧不好使因为还有几项没有修改,可以先使用命名查看一下://如果没有先配好root的密码,使用初始密码是无法查看对应的参数的。所以还是要先设置一个麻烦一点的密码,重启数据库,命令在后面:SHOW VARIABLES LIKE ‘validate_password%’;原创 2020-11-11 23:41:32 · 103 阅读 · 0 评论 -
nested exception is java.lang.IllegalStateException: Can‘t configure antMatchers after anyRequest
错误信息:org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘springSecurityFilterChain’ defined in class path resource [org/springframework/security/config/annotation/web/configuration/WebSecurityConfiguration.class]: Bean原创 2020-11-04 17:40:17 · 2601 阅读 · 0 评论 -
Error processing condition on org.springframework.boot.actuate.autoconfigure.audit.AuditEventsEndpoi
错误信息:org.springframework.beans.factory.BeanDefinitionStoreException: Failed to process import candidates for configuration class [com.SsoServerApplication]; nested exception is java.lang.IllegalStateException: Error processing condition on org.springframe原创 2020-11-04 17:30:46 · 12184 阅读 · 0 评论 -
No qualifying bean of type ‘com.netflix.client.config.IClientConfig‘ available
2020-11-04 17:10:12.616 WARN 6424 — [ restartedMain] ConfigServletWebServerApplicationContext : Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.UnsatisfiedDependencyException: Error crea原创 2020-11-04 17:28:02 · 1685 阅读 · 1 评论 -
glusterd.service: control process exited, code=exited status=203
安装GlusterFs启动报错glusterd.service: control process exited, code=exited status=203报错原因:没有修改:vim /usr/lib/systemd/system/glusterd.service脚本修改如下,[Unit]Description=GlusterFS, a clustered file-system serverDocumentation=man:glusterd(8)Requires=rpcbind.ser原创 2020-07-16 22:46:20 · 1586 阅读 · 0 评论 -
CentOS7 MySQL8.0 启动失败 Data Dictionary initialization failed
在CentOS7下面MySQL启动失败。1.查看错误原因1.1看错误日志在哪里cat /etc/my.cnf确定错误日志文件在/var/log/mysqld.log,查看错误1.2查看错误cat /var/log/mysqld.log2020-04-12T14:43:42.933326Z 0 [ERROR] [MY-010119] [Server] Aborting2020-04...原创 2020-04-12 23:02:09 · 34597 阅读 · 4 评论 -
Springboot自定义注解异常javax.validation.ConstraintDefinitionException
1.异常信息javax.validation.ConstraintDefinitionException: HV000074: com.xdl.annotation.config.MobileAnnotation contains Constraint annotation, but does not contain a groups parameter. at org.hibernate.v...原创 2019-09-14 22:23:30 · 5634 阅读 · 0 评论 -
Centos7安装rabbitmq第一次启动失败
1.启动命令service rabbitmq-server start2.错误日志Redirecting to /bin/systemctl start rabbitmq-server.serviceJob for rabbitmq-server.service failed because the control process exited with error code. See...原创 2019-09-12 22:28:43 · 2704 阅读 · 3 评论 -
import org.json.JSONObject;报错
1.引入maven依赖即可解决问题 <dependencies> <dependency> <groupId>org.json</groupId> <artifactId>json</artifactId> <version>20160810</version&...原创 2019-09-05 16:13:46 · 12612 阅读 · 2 评论 -
Caused by: java.lang.ClassNotFoundException: org.json.JSONObject
Exception in thread "main" java.lang.NoClassDefFoundError: org/json/JSONObject at com.jz.core.common.baidu.AiBaiduUtil.getAuth(AiBaiduUtil.java:85) at com.jz.core.common.baidu.AiBaiduUtil.getAuth_UN...原创 2019-08-30 10:09:13 · 5263 阅读 · 0 评论