`

error the @annotation pointcut expression is only supported at Java 5

 
阅读更多

error the @annotation pointcut expression is only supported at Java 5 compliance level or above

今天再工作中碰到了这个问题,着实让我头大了一阵error the @annotation pointcut expression is only supported at Java 5 compliance level  or above

这句话的意思是@annotation切点表达式仅支持 Java5或者以上版本。但是我的机器上装的是7,我就很费解了,后来摸索了半天终于找到了问题所在

原来我的jar包aspectjweaver是1.5.4的,应该是AspectJ中的类型会判断JAVA 版本,但是它不认识JAVA7...所以我下了个aspectjweaver-1.6.12.jar(见附件),配置了一下果然成功了。

 

 

转自:http://www.myexception.cn/ruby-rails/1618053.html

 

 

 

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics