AnnotationAwareAspectJAutoProxyCreator is only available on Java 1.5 and higher
来源:互联网 发布:fmri nifti数据集下载 编辑:程序博客网 时间:2024/05/21 12:40
今下午在用spring来启动单元测试老是报这个异常,利用程序在来跑了一下查看系统中使用的jdk和jre,发现输出一切正常,jdk是1.8,jre也是1.8,检测程序如下:
import java.util.Iterator;import java.util.Map.Entry;import java.util.Properties;public class TestMain{ public static void main(String args[]) throws Exception { Properties ps = System.getProperties(); Iterator<Entry<Object, Object>> it = ps.entrySet().iterator(); while(it.hasNext()){ Entry<Object, Object> entry = it.next(); if(entry.getKey().toString().startsWith("java")){ System.out.println(entry.getKey()+":"+entry.getValue()); } } }}
回想了一下,一个月前这里的单元测试是可以跑通的,这一个月我做了啥呢? 把jdk从1.7升到了1.8。
果然,我把java卸载了,重装上1.7,就可以正常运行了。
我怀疑是java 1.8和AspectJ的某个版本之间存在冲突导致的。
0 0
- AnnotationAwareAspectJAutoProxyCreator is only available on Java 1.5 and higher
- AnnotationAwareAspectJAutoProxyCreator is only available on Java 1.5 and higher
- AnnotationAwareAspectJAutoProxyCreator is only available on Java 1.5 and higher
- AnnotationAwareAspectJAutoProxyCreator is only available on Java 1.5 and higher
- AnnotationAwareAspectJAutoProxyCreator is only available on Java 1.5 and higher
- AnnotationTransactionAttributeSource is only available on Java 1.5 and higher
- AnnotationTransactionAttributeSource is only available on Java 1.5 and higher
- only available on JDK 1.5 and higher
- 关于 AnnotationConfigBeanDefinitionParser are only available on JDK 1.5 and higher
- 关于 AnnotationConfigBeanDefinitionParser are only available on JDK 1.5 and higher
- AnnotationConfigBeanDefinitionParser are only available on JDK 1.5 and higher
- ....are only available on JDK 1.5 and higher
- annotationconfigbeandefinitionparser are only available on jdk 1.5 and higher
- AnnotationConfigBeanDefinitionParser are only available on JDK 1.5 and higher
- AnnotationTransactionAttributeSource is only available on Java 1.5 and highe
- namespace element 'annotation-config' and its parser class are only available on JDK 1.5 and higher
- only available on JDK 1.5 and higher at * org.springframework.beans.factory.
- 解决Spring注解错误:ComponentScanBeanDefinitionParser are only available on JDK 1.5 and higher
- 蓝桥杯备战-阶乘计算
- 程序开发的一些思考
- js取年月最后一天
- Android抽象布局——include、merge 、ViewStub
- 删除项目中文件夹下包含的 .svn .git CVS等等遗留文件
- AnnotationAwareAspectJAutoProxyCreator is only available on Java 1.5 and higher
- PP(1) 基本流程
- 关于普朗克的量子化假说一些故事
- 线程池示例代码
- Android LayoutInflater原理分析,带你一步步深入了解View(一)
- Spatio-Temporal Laplacian Pyramid Coding forAction Recognition(动作识别的时空拉普拉斯金字塔编码)
- 全表扫描和索引扫描的区别
- 检测网络以及网络切换ios
- Android Timer schedule