1.出现404错误
org.springframework.beans.factory.BeanDefinitionStoreException: Failed to read candidate component class: file [D:apache-tomcat-6.0.41webappsjinyuWEB-INFclassescomcontrollerIndexController.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.41webappsjinyuWEB-
INFclassescomcontrollerIndexController.class]; nested exception is java.lang.IllegalArgumentException
这是因为spring和jdk的版本问题
Java 8 requires Spring 4.
如果使用spring4 需要安装Java7或者6