在eclipse server(tomcat 7.0.52)上添加工程,启动无报错
将项目导出到war文件,部署到tomcat 7.0.52上时,以错误开头
jdk版本为1.8.0_31,sonarqube必须以jdk > 1.8开头
下图为jar文件版本
最佳答案
尝试添加这个依赖
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-aspects</artifactId>
<version>3.1.0.RELEASE</version>
</dependency>
或
如果您在 pom.xml
之外使用一些外部 jar,则可能会发生这种情况或者 您也可以尝试将您的 jdk 更改为 1.7
关于java.lang.IllegalStateException : LifecycleProcessor not initialized - call 'refr esh' before invoking lifecycle methods via the context 错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/43336392/