工作需要,需要学习spring mvc,按照http://blog.csdn.net/swingpyzf/article/details/8904205上面的步骤操作,下载了最新的JAVA JDK 1.8,最后运行Tomcat 7.0(本来下载的也是8.0,但是eclipse里面只到7.0)时,老是报这种异常,
严重: StandardWrapper.Throwable
java.lang.IllegalArgumentExceptionat org.springframework.asm.ClassReader.<init>(Unknown Source)
折腾了好久,后来翻墙到谷歌终于找到了原因,https://stackoverflow.com/questions/22944716/error-on-creating-first-hello-world-application-using-spring-mvc
Basically, you can't use Java 8 with Spring 3 (there is no Spring 3.5.0). Upgrade to Spring 4 or downgrade to Java 7.
即要么使用支持1.8 JDK的spring 4,要么使用1.7 JDK。。。哎,现在不得不翻……墙啊