在学习spring AOP的时候,遇到了第一个问题
网上查都说是兼容的问题,适当JDK搭配适当spring版本,改完以后依旧无效
在用了最新的spring之后,又报了这样的问题
ASM ClassReader failed to parse class file - probably due to a new Java class file version that isn't supported yet
发现不是兼容性问题后,仔细排查,发现了问题所在
WARN org.springframework.context.support.ClassPathXmlApplicationContext
原来就是路径出现了问题
解决方案
在xml文件中,写对正确的路径,然后在java中添加注解,即可正常运行!
因篇幅问题不能全部显示,请点此查看更多更全内容