问题原因:通过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缓存
标签:ApplicationContext,exception,run,factory,springframework,nested,application,Erro From: https://www.cnblogs.com/wwssgg/p/18441218