电子商务网站规划建设与管理,网络网站建设广州,福州网站建设H5,html电影网页设计实例代码前些天发现了一个巨牛的人工智能学习网站#xff0c;通俗易懂#xff0c;风趣幽默#xff0c;忍不住分享一下给大家。点击跳转到教程。
这几天把以前网上看的视频的源代码拷贝到eclipse下面进行学习#xff0c;当时用的是eclipse-jee-neon-M4a-win32-x86_64这个版本的ecli…前些天发现了一个巨牛的人工智能学习网站通俗易懂风趣幽默忍不住分享一下给大家。点击跳转到教程。
这几天把以前网上看的视频的源代码拷贝到eclipse下面进行学习当时用的是eclipse-jee-neon-M4a-win32-x86_64这个版本的eclipse因为它本身集合了web开发插件谁知道弄好后发现他需要运行在java8的版本下面后来就下载安装java8谁知道一切准备就绪后发现我的项目无法运行一直再报
严重: 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)
。。。。
这个错我一直在网上找后来找到了答案
http://stackoverflow.com/questions/24128045/spring-context-initialization-failed-with-java-lang-illegalargumentexception-whi
后来我才知道这个项目因为应用了spring 框架但是这个框架如果想在java8下面开发使用就必须使用spring 4.0以上的版本否则就会报错。
所以解决方案两种要么让自己项目中的所有spring的jar包换成4.0以上的要么就是更换eclipse版本同时使用java7以及以下的版本来编译运行项目