AnnotationTransactionAttributeSource is only available on Java 1.5 and higher
来源:互联网 发布:网络拓扑图功能描述 编辑:程序博客网 时间:2024/05/18 01:13
在JBOSS7下热部署war包出错,我用的是idea开发工具,org.springframework:spring:2.0.8,和Jdk1.8。
网上各种搜索,原来因为spring core org.springframework.core.JdkVersion.java不支持Jdk1.8。支持的Jdk版本分别为1.3(default),1.4, 1.5, 1.6 and 1.7,如果检测到JBoss配置的不是1.4, 1.5, 1.6, 1.7,那么就认为是1.3,所以会报这个错。
解决方法是将Jdk1.8降到1.7,或者升级spring版本,使其支持Jdk1.8。
我尝试将Jdk1.8降到1.7,亲测可行,但要注意几个地方都要改。
1.Project sdk
2.artifact Module sdk
3.Jboss6 Jdk,位于$JBOSS_HOME/bin/standalone.bat
阅读全文
0 0
- AnnotationTransactionAttributeSource is only available on Java 1.5 and higher
- AnnotationTransactionAttributeSource is only available on Java 1.5 and higher
- AnnotationTransactionAttributeSource is only available on Java 1.5 and highe
- AnnotationAwareAspectJAutoProxyCreator is only available on Java 1.5 and higher
- AnnotationAwareAspectJAutoProxyCreator is only available on Java 1.5 and higher
- AnnotationAwareAspectJAutoProxyCreator is only available on Java 1.5 and higher
- AnnotationAwareAspectJAutoProxyCreator is only available on Java 1.5 and higher
- AnnotationAwareAspectJAutoProxyCreator is only available on Java 1.5 and higher
- only available on JDK 1.5 and higher
- 关于 AnnotationConfigBeanDefinitionParser are only available on JDK 1.5 and higher
- 关于 AnnotationConfigBeanDefinitionParser are only available on JDK 1.5 and higher
- AnnotationConfigBeanDefinitionParser are only available on JDK 1.5 and higher
- ....are only available on JDK 1.5 and higher
- annotationconfigbeandefinitionparser are only available on jdk 1.5 and higher
- AnnotationConfigBeanDefinitionParser are only available on JDK 1.5 and higher
- namespace element 'annotation-config' and its parser class are only available on JDK 1.5 and higher
- only available on JDK 1.5 and higher at * org.springframework.beans.factory.
- 解决Spring注解错误:ComponentScanBeanDefinitionParser are only available on JDK 1.5 and higher
- 脚本修改tomcat端口
- PHP之get,post,request
- python开发数据库之前言
- 并发编程<四>并发不可预期结果的根本原因
- 斯坦福机器学习笔记 第3周 六、逻辑回归(二)
- AnnotationTransactionAttributeSource is only available on Java 1.5 and higher
- mysql创建定时任务
- Python批量爬取微信公众号文章中的图片
- 2017年--Java新手如何学习Spring、Struts、Hibernate三大框架?
- SecureCRT工具介绍
- Dive to Python
- 英盛网新媒体营销、运营视频教程 售价598元
- HttpClient连接池抛出大量ConnectionPoolTimeoutException: Timeout waiting for connection异常排查
- Hadoop,Hbase,nutch搭建过程遇到的问题