码迷,mamicode.com
首页 > 编程语言 > 详细

AnnotationTransactionAttributeSource is only available on Java 1.5 and higher

时间:2017-08-26 12:42:56      阅读:434      评论:0      收藏:0      [点我收藏+]

标签:att   spec   project   nat   ann   nsa   rar   and   uil   


是否使用了spring? spring版本较低?

SPRING2.5版本可能不支持1.8的jdk,可能新版本有修复吧,

总而言之就是1.8的JDK太高了,SPRING支持不了,

修改方法也很简单,右键项目--》BUILD PATH--》Config Build 

Path--》Libraries-->Jre System Library--》Edit--》然后选择后面小括号里面标注为1.7!

另外右键项目--》Java Compiler 中选中“Enable project specific settings", 然后 compiler compilance leve 选 1.7

AnnotationTransactionAttributeSource is only available on Java 1.5 and higher

标签:att   spec   project   nat   ann   nsa   rar   and   uil   

原文地址:http://www.cnblogs.com/anstoner/p/7434911.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!