myeclipse2015配置spring异常
来源:互联网 发布:在线vip视频解析源码 编辑:程序博客网 时间:2024/05/17 22:38
严重: Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListener(Spring配置异常)
经过一天的调试发现spring配置头为:
<?xml version="1.0" encoding="UTF-8"?><beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:aop="http://www.springframework.org/schema/aop" xmlns:tx="http://www.springframework.org/schema/tx" xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.0.xsd http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-3.0.xsd http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx-3.0.xsd"> <!-- 数据源 -->
是错误的根源(一天哪!)。正确应为:
<?xml version="1.0" encoding="UTF-8"?><beans xmlns="http://www.springframework.org/schema/beans" xmlns:aop="http://www.springframework.org/schema/aop" xmlns:tx="http://www.springframework.org/schema/tx" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:p="http://www.springframework.org/schema/p" xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.1.xsd http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-3.1.xsd http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx-3.1.xsd ">
最好用的链接,点击之后就可以直接下载各版本的spring的jar包和源码
http://repo.spring.io/release/org/springframework/spring/
http://repo.spring.io/release/org/springframework/spring/
阅读全文
0 0
- myeclipse2015配置spring异常
- MyEclipse2015配置Tomcat方法
- MyEclipse2015配置Tomcat方法
- MyEclipse2015常用配置
- MyEclipse2015 SVN安装配置使用
- spring配置异常
- myeclipse2015工程与jdk版本异常
- maven 3.3.3 + MyEclipse2015 for windows 配置
- MyEclipse2015-Struts2 配置中的一些问题
- MyEclipse-MyEclipse2015配置JRE Tomcat Maven Server
- Spring MVC 异常处理配置
- spring 和MyBatista配置异常
- spring Aop 配置异常问题
- myeclipse2015+struts+spring+hibernate spring-web-3.2.5 Unsupported module
- MyEclipse2015不支持spring-web-3.2.0.RELEASE.jar
- Spring Tool Suite和MyEclipse2015使用过程中的区别
- webwork+spring 配置异常---持续更新
- spring mvc 异常处理和Log4j配置
- Automatic Feature Learning for Glaucoma Detection Based on Deep Learning论文理解
- 阿里云天池医疗大赛:用AI攻克全球癌症难题
- 店大欺客? 华为P10 “闪存门” 背后有哪些问题?| 揭秘
- 小米6官方海报和上手视频大曝光,原来这就是“四曲面”
- 我们看过500家医疗健康公司,趟过这3大陷阱的公司都成功了!
- myeclipse2015配置spring异常
- CCF考试——201709-1打酱油
- python偶数迭代器
- listView使用及优化的浅显理解
- 那个作为虚拟个人助理的出门问问又回来了,这次它想要无处不在
- 懒加载
- Azure在华扩张激进,微软大中华区CEO宣布一年内规模翻倍
- Java 常用工具类 Collections 源码分析
- 多分类学习、类别不平衡