解决报错error the @annotation pointcut expression is only supported at Java 5
来源:互联网 发布:荣耀盒子pro与网络连接 编辑:程序博客网 时间:2024/06/06 01:28
eclipse搭建环境后报错
error the @annotation pointcut expression is only supported at Java 5
错误意思大致是:注释切入点表达式只支持在Java 5版本以上,我就纳闷了我安装的是jdk1.8啊,不应该是jdk版本低的问题。仔细琢磨了下应该是Spring和注解相关的类包aspectjweaver.jar中有关于JDK版本的判断。我就去我的项目中查看对应aspectjweaver.jar包的版本为1.5
有两种解决此错误的方法:
1、就是卸载1.7以上版本的JDK,重新安装1.6版本的JDK使用。
2、下载高版本的aspectjweaver.jar替换掉低版本的jar包(网上说1.6.12可以解决,换了这个版本不行,接着换成1.8依旧不行,换成1.8.5)
下载1.8.5版本的jar包,问题搞定
1 0
- 解决报错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
- error the @annotation pointcut expression is only supported at Java 5 compliance level or above 异常解决
- 报错 The 'build' command is only supported from within a workspace.
- error at ::0 formal unbound in pointcut 报错
- nested exception is java.lang. IllegalArgumentException: error at ::0 formal unbound in pointcut
- 配置aop报错: Pointcut is not well-formed: expecting 'name pattern' at character position
- 解决IntelliJ IDEA 报编译错误Error:(36, 74) java: diamond operator is not supported in -source 1.5 (use -s
- 解决:“java.lang.IllegalArgumentException: error at ::0 can't find referenced pointcut myMethod”问题!
- 解决:“java.lang.IllegalArgumentException: error at ::0 can't find referenced pointcut myMethod”问题!
- Spring错误:Pointcut is malformed: error at ::0 formal unbound...
- spring4 aop 带参数表达式报错 error at ::0 formal unbound in pointcut
- Spring AspectJ报错:error at ::0 can't find referenced pointcut XXX
- 引入AOP 报错 error at ::0 formal unbound in pointcut
- win10 运行LoadRunner报错“Error (-81024): LR_VUG: The 'QTWeb' type is not supported on 'WIN32' platforms”
- 依赖关系Error:java: Annotation processing is not supported for module cycles.
- 【框架】Error:java: Annotation processing is not supported for module cycles.循环依赖
- android 视频播放器模板
- list清除重复对象
- 安卓属性动画系列
- DebugView图文教程
- uva11729----Commando War
- 解决报错error the @annotation pointcut expression is only supported at Java 5
- Java核心技术笔记——数据结构(3)
- 《Backbone 应用开发》读书笔记
- 正则表达式之最短匹配
- placeholder兼容写法
- linux习惯每天一个命令之rpm
- ubuntu14.04中Firefox浏览器中文语言设置
- ios中代码打开app store
- java图片移动(键盘控制)