Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled.

问题原因:通过springboot的启动类来启动springboot项目时,报错。但是通过maven packeage打包后,再启动没有问题。

org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'applicationRunnerImpl': Unsatisfied dependency expressed through field 'appXSession'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'appXSession' defined in class path resource [com/bk/config/AppXSessionConfig.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.bk.clientx.AppXSession]: Factory method 'appXSession' threw exception; nested exception is java.lang.NullPointerException 这个报错什么 意思?

解决办法:清理idea缓存

 

posted @   信铁寒胜  阅读(970)  评论(0编辑  收藏  举报
相关博文:
阅读排行:
· 阿里最新开源QwQ-32B,效果媲美deepseek-r1满血版,部署成本又又又降低了!
· AI编程工具终极对决:字节Trae VS Cursor,谁才是开发者新宠?
· 开源Multi-agent AI智能体框架aevatar.ai,欢迎大家贡献代码
· Manus重磅发布:全球首款通用AI代理技术深度解析与实战指南
· 被坑几百块钱后,我竟然真的恢复了删除的微信聊天记录!
历史上的今天:
2022-09-30 vscode 让terminal 停止
2021-09-30 JTextField的内容变更事件
2021-09-30 关于RCP的ClassNotFoundException异常
2021-09-30 Expected one result (or null) to be returned by selectOne(), but found: 2 和 java.lang.UnsupportedOperationException异常
2021-09-30 新安装个Myeclipse,导入以前做的程序后程序里好多错,提示The import java.util cannot be resolved
点击右上角即可分享
微信分享提示