aop编程相关

nested exception is java.lang.NoClassDefFoundError: org/springframework/core/NativeDetector

对于AOP相关的编程,spring配置的没有错,但是一直报这个错误:

Error creating bean with name 'xxx' defined in class path resource [aop/spring.xml]: Initialization of bean failed; nested exception is java.lang.NoClassDefFoundError: org/springframework/core/NativeDetector

大概意思就是嵌套异常spring框架中的NativeDetector引用找不到了

多翻排查,最后发现问题出在pom文件。spring-aop版本过高,降到相同版本之后解决。


bug与解决方案 文章被收录于专栏

编程种遇到的各种坑爹bug和解决方案

全部评论
这个问题现在解了没
点赞 回复 分享
发布于 2022-07-29 09:54

相关推荐

不愿透露姓名的神秘牛友
10-04 05:12
kalistar:简历留六个字,北京大学(本科),黑体加粗,看看哪个hr不长眼敢碰瓷我们北大✌
点赞 评论 收藏
分享
评论
点赞
收藏
分享

创作者周榜

更多
牛客网
牛客网在线编程
牛客网题解
牛客企业服务