首页 > Web开发 > 详细

(转)hibernate.cfg.xml:The file cannot be validated as there was a connection problem

时间:2015-11-07 12:02:09      阅读:871      评论:0      收藏:0      [点我收藏+]

技术分享

在写hibernate.cfg.xml的配置文件时,在文件的标头部分,会出现这个黄色感叹号,提示The file cannot be validated as there was a connection problem

即,因为连接问题不能通过验证,这样我们就无法使用eclipse的自动提示功能!解决的办法其实很简单,就是换个标头,换成即可

<!DOCTYPE hibernate-configuration PUBLIC
        "-//Hibernate/Hibernate Configuration DTD 3.0//EN"
       "http://www.hibernate.org/dtd/hibernate-configuration-3.0.dtd">

 

(转)hibernate.cfg.xml:The file cannot be validated as there was a connection problem

原文:http://www.cnblogs.com/com-wushuang/p/4944779.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!