spring问题

1、The matching wildcard is strict ,but no declaration can be found for element 'tx:annotation-driven'

原因:在application.xml中使用了tx-4.1的xsd引用,但在项目lib中使用了spring-tx-3.*.jar;

解决:使用spring-tx-4.1.jar,删除spring-tx-3.*.jar

2、eclipse中的spring 应用启动超时,可能的一个原因是配置文件中设置的数据库连接信息有误;今天遇到一个应用使用了quatz,这个quatz需要连接数据库操作,但连接数据库设置有误,导致spring 无法初始化这个类,也就无法完成web应用启动;

上一篇:POJ - 1062(昂贵的聘礼)(有限制的spfa最短路)


下一篇:pl/sql Devloper 关键字转为大写