首页 > 技术文章 > 做ssh框架整合的时候,遇到如下错误:AnnotationTransactionAttributeSource is only available on Java 1.5 and higher

sunnyCx 2017-10-30 19:47 原文

nested exception is java.lang.IllegalStateException: AnnotationTransactionAttributeSource is only available on Java 1.5 and higher

解决方法:
jdk版本过高,选用jdk7即可。不需要重新安装jdk.
Myeclipse中configure server->servers->Tomcat 7.x->JDK,选择com.sun.java.jdk7.win32.x86_64_1.7.0.u45,
问题得到解决。

推荐阅读