报错
Be Your Superhero
这个作者很懒,什么都没留下…
展开
-
IDEA中出现Maven的循环依赖 aAnnotation processing is not supported for module cycles
错误Error:java: Annotation processing is not supported for module cycles. Please ensure that all modules from cycle [entity,service] are excluded from annotation processing解决办法如果你的是多个模块点击后它会让你选择单个项目还是多个项目,根据自己的需求选择就好选择后如果检测出来了就会弹出报红的项目,如果没有的话则检测整个项目再试原创 2020-09-09 09:46:35 · 1890 阅读 · 0 评论 -
客户端注册eureka服务失败registration failed Cannot execute request on any known server
错误情景SpringBoot 2.0.3.RELEASESpringCloud Finchley.RELEASE启动 eureka 客户端,报如下错误:2019-02-01 11:36:56.933 INFO 388404 --- [ main] com.netflix.discovery.DiscoveryClient : Application version is -1: true2019-02-01 11:36:56.933 INFO 388404 --- [转载 2020-07-27 12:30:09 · 1418 阅读 · 0 评论 -
Java实体对象为null时set方法空指针异常
解决办法将对象创建一个对象,也就是new一下即可原因因为对象是空的;你看着这个对象是有的,但是它在内存中系统没有给它分配对象;就比如你有一个杯子,然后你想往里面倒水;但是现在这个杯子都不存在;那你怎么倒水?,所以就为null了;这也是为什么要new一个对象的原因...原创 2020-07-20 11:03:55 · 3528 阅读 · 1 评论 -
Error starting ApplicationContext. To display the auto-configuration report re-run your application
2020-07-10 08:19:15.142 ERROR 14532 --- [cat-startStop-1] org.apache.catalina.core.ContainerBase : A child container failed during startjava.util.concurrent.ExecutionException: org.apache.catalina.LifecycleException: Failed to start component [Standard原创 2020-07-12 14:46:41 · 177 阅读 · 0 评论 -
Error starting ApplicationContext. To display the auto-configuration report re-run your application
Error starting ApplicationContext. To display the auto-configuration report re-run your application with 'debug' enabled.2020-06-13 10:18:18.062 ERROR 1460 --- [ main] o.s.boot.SpringApplication : Application startup failedorg.sp原创 2020-06-17 08:12:23 · 1543 阅读 · 0 评论