简体   繁体   中英

java.lang.ClassNotFoundException: org.springframework.aop.config.AopConfigUtils

Today when I start my app, shows error:

java.lang.ClassNotFoundException: org.springframework.aop.config.AopConfigUtils

I am check my project and found it already contains Gradle: org.springframework.boot:spring-boot-starter-aop:2.5.7 dependencies. what should I do to fix this problem? Should I add this class AopConfigUtils? I am sure I did not mix version because all the version management by the org.springframework.boot gradle plugin.

Check whether this JAR is present in the application classpath. ... If that JAR is already present in the classpath, make sure the classpath is not overridden.

And please check if you are not mixing the version.

Try alternative for mvn clean install. Clean cache in Intellij if previous command doesn't help.

In maven version for spring boot starters are always skipped. Try remove version number from dependency.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM