These days, I copied the source of the video I watched online to eclipse, and then I used the eclipse-jee-neon-m4a-win32-x86_64 version of Eclipse, because it was a collection of web development plugins, who knew found that he needed to run under the Java8 version, and later on to download the installation java8, who knew everything was ready and found that my project could not run and had been re-reported
Severity: Context initialization failed
Java.lang.IllegalArgumentException
At org.springframework.asm.classreader.<init> (Unknown Source)
At org.springframework.asm.classreader.<init> (Unknown Source)
At org.springframework.asm.classreader.<init> (Unknown Source)
At Org.springframework.core.type.classreading.simplemetadatareader.<init> (SimpleMetadataReader.java:52)
At Org.springframework.core.type.classreading.SimpleMetadataReaderFactory.getMetadataReader ( SIMPLEMETADATAREADERFACTORY.JAVA:80)
At Org.springframework.core.type.classreading.CachingMetadataReaderFactory.getMetadataReader ( CACHINGMETADATAREADERFACTORY.JAVA:101)
At Org.springframework.core.type.classreading.SimpleMetadataReaderFactory.getMetadataReader ( simplemetadatareaderfactory.java:76)
At Org.springframework.context.annotation.ConfigurationClassParser.getImports (configurationclassparser.java:298 )
At Org.springframework.context.annotation.ConfigurationClassParser.getImports (configurationclassparser.java:300 )
At Org.springframework.context.annotation.ConfigurationClassParser.getImports (configurationclassparser.java:300 )
。。。。
This mistake, I've been searching the internet, and I found the answer.
http://stackoverflow.com/questions/24128045/ Spring-context-initialization-failed-with-java-lang-illegalargumentexception-whi
Later I learned that this project was due to the spring framework, but if the framework is to be developed under JAVA8, it will have to use more than spring 4.0, otherwise it would be an error.
So the solution is either to change all of the spring jar packages in your project to more than 4.0, or to replace the eclipse version and compile the running project with JAVA7 and the following versions
About the pit that the eclipse for Java EE version encounters (Context initialization failed)