spring配置文件注意事项
来源:互联网 发布:极限兑换空间知轩藏书 编辑:程序博客网 时间:2024/05/21 22:59
好久么有平配置Springl的applacationContext.xml文件了,今天就鬼使神差的配出了上面那样的就一直报错。结果整了我一下午,原来是<!DOCTYPE beans PUBLIC "-//SPRING//DTD BEAN//EN"
"http://www.springframework.org/dtd/spring-beans.dtd">
和
<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-2.5.xsd
http://www.springframework.org/schema/aop
http://www.springframework.org/schema/aop/spring-aop-2.5.xsd
http://www.springframework.org/schema/tx
http://www.springframework.org/schema/tx/spring-tx-2.5.xsd">
.......
.......
</beans>
不能同时配置在一起,二者选其一即可。
因此应该配成这样:
或者这样:
- spring配置文件注意事项
- spring 注意事项
- struts入门配置文件注意事项
- WritePrivateProfileString 读写配置文件注意事项
- SpringMvc配置文件注意事项
- php配置文件修改注意事项
- spring 配置文件
- Spring配置文件
- spring配置文件
- spring配置文件
- spring配置文件
- spring配置文件
- spring配置文件!
- spring配置文件
- spring 配置文件
- spring配置文件
- spring 配置文件
- spring配置文件
- 驱动监控进程的创建
- 分类回归树CART
- [kernel] linux在多核处理器上的负载均衡原理
- java--交通灯管理系统
- ASM Fast Mirror Resync - Example To Simulate Transient Disk Failure And Restore Disk
- spring配置文件注意事项
- 简析移动领域内微软(Microsoft)和英特尔(Intel)的市场前景
- 使用Jasperreport作为报表控件开发Web报表应用
- smarty模板引擎
- 不要迷失在技术的海洋中
- 材质RGB值和光源RGB值的关系
- 无法在 unicode 和非 unicode 字符串数据类型之间转换。
- GAE Exception: ObjectManager has been closed
- rabbitmq 学习-5-server管理