关于eclipse环境下的The User Operation is waiting for background work to complete 
原因: 
"http://hibernate.sourceforge.net/hibernate-mapping-2.0.dtd"的dtd设置的不正确,导致每次修改*.hbm.xml文件时eclipse都要重新下载 
解决方法: 
下载或者在本地找到已下载好的hibernate-mapping-2.0.dtd(一般在工作区的work\loader\net\sf\hibernate\目录下) 
从菜单里选择   Window > Preferences > Web and XML > XML Catalog > Add 添加刚才保存的DTD文件( location of the local dtd file ) 
key里面输入 -//Hibernate/Hibernate Mapping DTD 2.0//EN 
  
来自网络
	posted on 2011-05-19 20:08 
Libo 阅读(6270) 
评论(0)  编辑  收藏