error the @annotation pointcut expression is only supported at Java 5 compliance level or above
2014-04-09 11:20
936 查看
今天再工作中碰到了这个问题,着实让我头大了一阵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,配置了一下果然成功了。
下面是aspectjweaver-1.6.12.jar的jar包下载
jar包下载
这句话的意思是@annotation切点表达式仅支持 Java5或者以上版本。但是我的机器上装的是7,我就很费解了,后来摸索了半天终于找到了问题所在
原来我的jar包aspectjweaver是1.5.4的,应该是AspectJ中的类型会判断JAVA
版本,但是它不认识JAVA7...所以我下了个aspectjweaver-1.6.12.jar,配置了一下果然成功了。
下面是aspectjweaver-1.6.12.jar的jar包下载
jar包下载
相关文章推荐
- 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
- error the @annotation pointcut expression is only supported at Java 5 compliance level or above
- nested exception is java.lang. IllegalArgumentException: error at ::0 formal unbound in pointcut
- Sharepoint Service Error: A deployment or retraction is already under way for the solution "xxx.wsp" , and only one deployment or retraction at a time
- error at ::0 can't find referenced pointcut declareJointPointExpression
- Spring 错误:Pointcut is malformed: error at ::0 formal unbound in pointcut
- spring aop 报错:Caused by: java.lang.IllegalArgumentException: error at ::0 formal unbound in pointcut
- 依赖关系Error:java: Annotation processing is not supported for module cycles.
- Java入门到精通——调错篇之Spring2.5利用aspect实现AOP时报错: error at ::0 can't find referenced pointcut XXX
- The JVM found at JAVA_HOME is damaged.Please reinstall or define EXE4J_JAVA_HOME to point to an installed 32-bit JDK or JRE
- Spring错误:Pointcut is malformed: error at ::0 formal unbound...
- java.lang.IllegalArgumentException: Pointcut is not well-formed: expecting '(' at character position
- Java入门到精通——调错篇之Spring2.5利用aspect实现AOP时报错: error at ::0 can't find referenced pointcut XXX 分类: Java从
- An error occurred at line: 7 in the generated java file Only a type can be imported. java.util.list
- error Type referred to is not an annotation type: validate 0 formal unbound in pointcut
- Error:Pointcut is malformed: Pointcut is not well-formed: expecting '(' at character position 0
- 解决:“java.lang.IllegalArgumentException: error at ::0 can't find referenced pointcut myMethod”问题!
- Caused by: java.lang.IllegalArgumentException: error at ::0 can't find referenced pointcut