码迷,mamicode.com
首页 > 编程语言 > 详细

SpringMVC整合

时间:2016-07-19 20:46:14      阅读:140      评论:0      收藏:0      [点我收藏+]

标签:

1.出现404错误

 

org.springframework.beans.factory.BeanDefinitionStoreException: Failed to read candidate component class: file [D:\apache-tomcat-6.0.41\webapps\jinyu\WEB-INF\classes\com\controller\IndexController.class]; 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-tomcat-6.0.41\webapps\jinyu\WEB-

INF\classes\com\controller\IndexController.class]; nested exception is java.lang.IllegalArgumentException

这是因为spring和jdk的版本问题

Java 8    requires    Spring 4.

 

如果使用spring4 需要安装Java7或者6

SpringMVC整合

标签:

原文地址:http://www.cnblogs.com/moon-lights/p/5685954.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!