AnnotationConfigBeanDefinitionParser are only available on JDK 1.5 and higher
问题描述:
控制台输出AnnotationConfigBeanDefinitionParser are only available on JDK 1.5 and higher。
问题原因:
org.springframework.context.annotation.AnnotationConfigBeanDefinitionParser自动检测,jdk版本检测的时候需要jre1.5以上版本,但是JdkVersion只检查到了1.7,jre1.8 时不匹配任何jdk。
解决办法:
检查项目使用的jre,确保不是1.8,然后看tomcat使用的jre,确保不是1.8,将两个地方的jre都改成1.7就可以。
操作步骤:
1.项目->build path->jre修改为1.5-1.7版本
2.window->prefrences->MyEclipse->Servers->RuntimeEnvironment->选择tomcat->edit->jre修改为1.5-1.7版本
转载于:https://www.cnblogs.com/tongrui/p/6622002.html
AnnotationConfigBeanDefinitionParser are only available on JDK 1.5 and higher相关推荐
- [转]Tomcat启动报错:AnnotationConfigBeanDefinitionParser are only available on JDK 1.5 and higher...
原文地址:https://blog.csdn.net/daochuwenziyao/article/details/54949151 问题描述: 控制台输出AnnotationConfigBeanDe ...
- java项目 升级jdk1.8 遇到 tomcat启动 are only available on JDK 1.5 and higher错误
** 原因:因为项目升级之前是jdk1.6,升级到1.8之后,spring.jar中JdkVersion.class 没有兼容到jdk1.8而导致. ** 解决办法有2种: 1.jdk换成1.8以下( ...
- nested exception is java.lang.IllegalStateException: Context namespace element 'annotation-config' a
公司还用的是spring低版本,今天用jre 8测试了一下,发现错误: Unexpected exception parsing XML document from class path resour ...
- java.lang.IllegalStateException: Context namespace element ‘annotation-config’ and its parser class
项目中用的是spring低版本(2.5.6),今天用jre 8测试了一下,发现错误: Unexpected exception parsing XML document from class path ...
- dubbo 常见错误
1. Caused by: java.lang.reflect.MalformedParameterizedTypeException 启动时报错,原因是dubbo 依赖 spring 2.5.6.S ...
- 关于项目中Spring版本与jdk1.8兼容问题解决
问题描述: 在用公司的工具搭建项目时,由于使用Spring框架,同时要求jdk版本为1.8:当部署完成以后,项目总是无法运行,会报错: Context namespace element 'annot ...
- linux java 构建工具有哪些,Linux ant --强大的Java开发构建工具
用途说明 ant严格说来,ant其实并非原生的Linux命令,但它是一个使用广泛.功能强大的跨平台构建工具程序,尤其是进行Java开发时,许多开源的Java项目都使用ant作为构建工具.ant命令一般 ...
- Atomikos 中文说明文档【转】
Atomikos 翻译文档(英文文档来源:下载安装包中START_HERE.html) ----译者:周枫 请尊重劳动成果,转载请标明 ...
- How to Analyze Java Thread Dumps--reference
原文地址:http://architects.dzone.com/articles/how-analyze-java-thread-dumps The Performance Zone is pres ...
最新文章
- Angular路由--模块预加载
- OPENCV打开图片进行边缘检测
- 安装LINUX后要怎么找回WIN7启动项?
- 解决Vue打包后背景图片路径错误问题
- numpy ndarray.tostring()(在数组中构造包含原始数据字节的Python字节)(tobytes()函数的兼容性别名)
- 使用Flow快速开发Teams小应用
- java实训说明说需求分析_java实训总结收获
- java代码意思,[求助]java代码的意思?
- 《人生哲理》一.我们必须活在当下!
- 拳王虚拟项目公社:建一个虚拟资源流量池,兼职副业卖虚拟资源商品月入5000
- PyCharm的Requirement already satisfied 解决方法
- packages are looking for funding run `npm fund` for details ( npm 支持开发者添加募款链接)
- 电路矢量图编辑器数据库设计
- 50 岁的 C 语言,掌控 Windows、Linux、macOS 等操作系统半边天
- win10命令行模式无法切换输入法
- 中国英语市场营销分析与竞争形势调研报告2022版
- JOL(java object layout): java 对象内存布局
- addons软件下载_addons中国版
- Eclipse打开报错,The Eclipse executable launcher was unable to locate its companion shared library.
- pcl小知识(十一)——对StatisticalOutlierRemoval的理解
热门文章
- oracle授权v$lock,Oracle八大性能视图之v$lock
- elk替代_Golang-logrus简单的日志收集系统(替代ELKB)
- python修改csv文件字段顺序_Pandas中DataFrame交换列顺序的方法实现
- java 编译开关_Java开关盒字符串
- 向下滑动动画android_Android SwipeRefreshLayout – Android向下拉动/向下滑动即可刷新
- adalm pluto_将Apache Pluto与Lucene搜索引擎示例教程集成
- VSCode调试Python时终端输出中文乱码解决方法2
- win10安装应用商店版word(ump版word)
- ROS的学习(十九)用rosserial创建一个subscriber
- Java基础篇:switch语句