[求助]Spring这是报了个什么鬼错误!!

紫竹修 2017-06-13 10:26:46
以下是错误,从eclipse里面的web项目导入到idea,然后使用项目内置的jetty启动就这样子,
jdk 1.8
spring 3.2.4
idea版本 2017.1.3


2017-06-13 10:08:49 INFO [Class:ContextHandler$Context->Thread:main] Initializing Spring root WebApplicationContext
2017-06-13 10:08:49 DEBUG [Class:InitialContextFactory->Thread:main] InitialContextFactory.getInitialContext()
2017-06-13 10:08:49 DEBUG [Class:InitialContextFactory->Thread:main] Created initial context delegate for local namespace:org.eclipse.jetty.jndi.local.localContextRoot@482cd91f
2017-06-13 10:08:50 ERROR [Class:ContextLoader->Thread:main] Context initialization failed
org.springframework.beans.factory.parsing.BeanDefinitionParsingException: Configuration problem: Failed to import bean definitions from relative location [core/iqc.service.xml]
Offending resource: class path resource [iqc.cxt.xml]; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Failed to read candidate component class: file [C:\Users\王志坤\idea_APP\IQC-ZHYQ\webapp\WEB-INF\classes\com\iqc\demo\controller\DemoController.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 [C:\Users\王志坤\idea_APP\IQC-ZHYQ\webapp\WEB-INF\classes\com\iqc\demo\controller\DemoController.class];
...全文
162 5 打赏 收藏 转发到动态 举报
写回复
用AI写文章
5 条回复
切换为时间正序
请发表友善的回复…
发表回复
紫竹修 2017-06-13
  • 打赏
  • 举报
回复
引用 1 楼 pany1209 的回复:
spring使用4以上版本的或者换jdk1.7....
哈哈,干些仁兄,我换成jdk1.7的就好了,感谢,就你了
紫竹修 2017-06-13
  • 打赏
  • 举报
回复
引用 3 楼 lrx2011 的回复:
引用 2 楼 qq_27840695 的回复:
[quote=引用 1 楼 pany1209 的回复:] spring使用4以上版本的或者换jdk1.7....
我在eclipse上就能完美运行,难道idea对这俩或不兼容?
idea需要设置些东西,sdk,版本等[/quote]我搞了三天这个 基本上idea设置的都会了,但是项目就是不给我运行 ,Boom 爆炸
podd 2017-06-13
  • 打赏
  • 举报
回复
引用 2 楼 qq_27840695 的回复:
引用 1 楼 pany1209 的回复:
spring使用4以上版本的或者换jdk1.7....
我在eclipse上就能完美运行,难道idea对这俩或不兼容?
idea需要设置些东西,sdk,版本等
紫竹修 2017-06-13
  • 打赏
  • 举报
回复
引用 1 楼 pany1209 的回复:
spring使用4以上版本的或者换jdk1.7....
我在eclipse上就能完美运行,难道idea对这俩或不兼容?
李德胜1995 2017-06-13
  • 打赏
  • 举报
回复
spring使用4以上版本的或者换jdk1.7....

67,513

社区成员

发帖
与我相关
我的任务
社区描述
J2EE只是Java企业应用。我们需要一个跨J2SE/WEB/EJB的微容器,保护我们的业务核心组件(中间件),以延续它的生命力,而不是依赖J2SE/J2EE版本。
社区管理员
  • Java EE
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧