我的情况是,这个应用启动的java进程在系统中未结束掉导致的,
原进程仍存在,再次启动项目时报了org.springframework.beans.factory.BeanCreationException: Error creating bean
这个错,通过ps -ef|grep tomcat
查到进程,然后kill -9 threadId后,
再次启动项目就解决了,耗费了我半天的时间查这个问题, 还怀疑是自己调整工程pom导致的,
结果却是进程未正常结束导致的。
- BeanCreationException springframework springboot creating factorybeancreationexception springframework springboot springframework factory caused beans beannameurlhandlermapping springframework creating springapplication springframework springboot springboot factories meta-inf文件 springframework springboot annotation autowired springboot3 springboot factories解决方案 origintrackedyamlloader springframework springboot 时长springframework springboot代码 第三方springboot factories spring