Eclipse中打开选项window-->preferences-->

Hibernate中解决xml配置文件中没有提示的问题

搜索xml加一个空格加一个c xml c

Hibernate中解决xml配置文件中没有提示的问题

Hibernate中解决xml配置文件中没有提示的问题

点击Add

Hibernate中解决xml配置文件中没有提示的问题

输入location和key

其中key-type是URI

key是xml配置文件中的网址

Hibernate中解决xml配置文件中没有提示的问题

location是本地对应文件的路径

Hibernate中解决xml配置文件中没有提示的问题

最后点击OK 完成引入

 

 

相关文章: