Tomcat启动时报错:
nested exception is org.springframework.core.NestedIOException: ASM ClassReader failed to parse class file - probably due to a new Java class file version that isn't supported yet: file [D:\Apache\apache-tomcat-8.0.24\wtpwebapps\app05a\WEB-INF\classes\app05a\controller\BookController.class]; nested exception is java.lang.IllegalArgumentException
这是因为使用了Java 1.8去编译,必须使用Spring 4.0,当然在Java 1.8下,如果使用1.7的环境去编译,同样也可以运行Spring 3.x
这个问题可以参考官方文档:
http://docs.spring.io/spring/docs/current/spring-framework-reference/html/new-in-4.0.html