Springmvc配置扫描注解的时候,报异常,
1、java.lang.IllegalArgumentException
at org.springframework.asm.ClassReader.(Unknown Source)
2、org.springframework.beans.factory.BeanDefinitionStoreException: Failed to read candidate component class: file 此情况如果读取文件路径没有问题的,就是jdk与spring兼容问题
本人的开发环境是jdk1.8+tomcat8.5+spring3.2
jdk1.8与spring3.2不兼容,需spring4.0+或更改jdk低版本