简体   繁体   English

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

[英]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.我正在检查我的项目,发现它已经包含Gradle: org.springframework.boot:spring-boot-starter-aop:2.5.7依赖项。 what should I do to fix this problem?我应该怎么做才能解决这个问题? Should I add this class AopConfigUtils?我应该添加这个 class AopConfigUtils 吗? I am sure I did not mix version because all the version management by the org.springframework.boot gradle plugin.我确定我没有混合版本,因为所有版本管理都由org.springframework.boot gradle 插件。

Check whether this JAR is present in the application classpath.检查此 JAR 是否存在于应用程序类路径中。 ... If that JAR is already present in the classpath, make sure the classpath is not overridden. ... 如果 JAR 已经存在于类路径中,请确保类路径未被覆盖。

And please check if you are not mixing the version.请检查您是否没有混合版本。

Try alternative for mvn clean install.尝试替代 mvn clean install。 Clean cache in Intellij if previous command doesn't help.如果先前的命令没有帮助,请在 Intellij 中清理缓存。

In maven version for spring boot starters are always skipped.在 spring 的 maven 版本中,启动启动器总是被跳过。 Try remove version number from dependency.尝试从依赖项中删除版本号。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 Spring Boot 2.0.0.RELEASE java.lang.ClassNotFoundException:org.springframework.aop.framework.AopProxyUtils - Spring boot 2.0.0.RELEASE java.lang.ClassNotFoundException: org.springframework.aop.framework.AopProxyUtils 引起原因:java.lang.ClassNotFoundException:org.springframework.web.servlet.config.annotation.AsyncSupportConfigurer - Caused by: java.lang.ClassNotFoundException: org.springframework.web.servlet.config.annotation.AsyncSupportConfigurer java.lang.ClassNotFoundException:org.springframework.expression.ExpressionParser - java.lang.ClassNotFoundException: org.springframework.expression.ExpressionParser java.lang.ClassNotFoundException: org.springframework.boot.SpringApplication Maven - java.lang.ClassNotFoundException: org.springframework.boot.SpringApplication Maven java.lang.ClassNotFoundException: org.springframework.core.annotation.MergedAnnotations - java.lang.ClassNotFoundException: org.springframework.core.annotation.MergedAnnotations java.lang.ClassNotFoundException: org.springframework.core.io.Resource - java.lang.ClassNotFoundException: org.springframework.core.io.Resource java.lang.ClassNotFoundException:org.springframework.servlet.DispatcherServlet - java.lang.ClassNotFoundException: org.springframework.servlet.DispatcherServlet java.lang.classnotfoundexception org.springframework.web.servlet.dispatcherservlet - java.lang.classnotfoundexception org.springframework.web.servlet.dispatcherservlet java.lang.ClassNotFoundException:org.springframework.web.context.ContextLoadListener - java.lang.ClassNotFoundException: org.springframework.web.context.ContextLoadListener java.lang.ClassNotFoundException:org.springframework.jdbc.datasource.DriverManagerDataSource - java.lang.ClassNotFoundException: org.springframework.jdbc.datasource.DriverManagerDataSource
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM