Error creating bean with name 'org.springframework.aop.aspectj.AspectJPointc


问题

出现报错:

Error creating bean with name 'org.springframework.aop.aspectj.AspectJPointc

原因

缺失两个库文件:

  • aspectjrt.jar

  • aspectjweaver.jar

解决办法

在网上下载aspectjrt.jaraspectjweaver.jar,并添加进项目中。

aspectjrt.jar和aspectjweaver.jar的下载地址:

链接:https://pan.baidu.com/s/1BuA-RS4CgQ-thxfh_8GTNg
提取码:yb91

将jar包导入项目中,参考链接

Intellij IDEA 添加jar包的三种方式


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



猜您在找 Java AOP nested exception is java.lang.NoClassDefFoundError: org/aopalliance/aop/Advice || Error creating bean with name 'org.springframework.aop.aspectj.AspectJPointcutAdvisor#0' 两个异常解决办法 Error creating bean with name 'org.springframework.validation.beanvalidation.LocalValidatorFactory Spring AOP 报错org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'XXXXXX' defined in class path resource.......... Error creating bean with name 'org.springframework.aop.support.DefaultBeanFactoryPointcutAdvisor#0': Initialization of bean failed; nested exception is java.lang.NoSuchMethodError: org.springframework SpringBoot 报 org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'bootstrapImportSelectorConfiguration': Initialization of bean failed; org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'requestMappingHandlerMapping' defined in class path resource Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'fundService': Injection of resource dependencies failed; Application run failed org.springframework.beans.factory.BeanCreationException: Error creating bean with name org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'configurationPropertiesBeans' defined in class path resource Error creating bean with name 'persistenceExceptionTranslationPostProcessor' defined in class path resource [org/springframework/boot/autoconfigure/dao/PersistenceExceptionTranslationAutoConfiguration
 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM