spring3.x Project +jdk8 with jetty operation error, instead of JDK6 can
(JDK8 can only run spring4.0 and above)
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) at Org.springframework.context.annotation.ConfigurationClassParser.doProcessConfigurationClass ( Configurationclassparser.java:230) at Org.springframework.context.annotation.ConfigurationClassParser.processConfigurationClass ( Configurationclassparser.java:153) at Org.springframework.context.annotation.ConfigurationClassParser.parse (Configurationclassparser.java: 130) at Org.springframework.context.annotation.ConfigurationClassPostProcessor.processConfigBeanDefinitions ( Configurationclasspostprocessor.java:285) at Org.springframework.context.annotation.ConfigurationClassPostProcessor.postProcessBeanDefinitionRegistry ( Configurationclasspostprocessor.java:223) at Org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors ( Abstractapplicationcontext.java:630) at Org.springframework.context.support.AbstractApplicationContext.refresh (Abstractapplicationcontext.java: 461) at Org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext ( Contextloader.java:383) at Org.springframework.web.context.ContextLoader.initWebApplicationContext (Contextloader.java:283) at org.springframework.web.context.ContextLoaderListener.contextInitialized (Contextloaderlistener.java: 112) at Org.apache.catalina.core.StandardContext.listenerStart (Standardcontext.java:4973) at Org.apache.catalina.core.StandardContext.startInternal (Standardcontext.java:5467) at Org.apache.catalina.util.LifecycleBase.start (Lifecyclebase.java:150) at Org.apache.catalina.core.ContainerBase.addChildInternal (Containerbase.java:901) at Org.apache.catalina.core.ContainerBase.addChild (Containerbase.java:877) at Org.apache.catalina.core.StandardHost.addChild (Standardhost.java:632) at Org.apache.catalina.startup.HostConfig.deployWAR (Hostconfig.java:1083) at Org.apache.catalina.startup.hostconfig$deploywar.run (Hostconfig.java:1880) at Java.util.concurrent.executors$runnableadapter.call (Executors.java:511) at Java.util.concurrent.FutureTask.run (Futuretask.java:266) at Java.util.concurrent.ThreadPoolExecutor.runWorker (Threadpoolexecutor.java:1142) at Java.util.concurrent.threadpoolexecutor$worker.run (Threadpoolexecutor.java:617) at Java.lang.Thread.run (Thread.java:745)
Spring context initialization failed with java.lang.IllegalArgumentException