本文主要是介绍在项目SSH整合时,启动测试时报的警告!,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!
一、tomcat 运行过程中提示:
22:11:07,082 [main] WARN DTDEntityResolver : recognized obsolete hibernate namespace http://hibernate.sourceforge.net/. Use namespace http://www.hibernate.org/dtd/ instead. Refer to Hibernate 3.6 Migration Guide!
22:11:07,106 [main] WARN DTDEntityResolver : recognized obsolete hibernate namespace http://hibernate.sourceforge.net/. Use namespace http://www.hibernate.org/dtd/ instead. Refer to Hibernate 3.6 Migration Guide!22:11:07,122 [main] WARN DTDEntityResolver : recognized obsolete hibernate namespace http://hibernate.sourceforge.net/. Use namespace http://www.hibernate.org/dtd/ instead. Refer to Hibernate 3.6 Migration Guide!
解决办法:
1、检查所有***.hbm.xml文件,看看是不是有
"http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd"
更换为
"http://www.hibernate.org/dtd/hibernate-mapping-3.0.dtd"
2、检查hibernate.cfg.xml文件,将
"http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd"
更换为
"http://www.hibernate.org/dtd/hibernate-configuration-3.0.dtd"
这篇关于在项目SSH整合时,启动测试时报的警告!的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!