Eclipse 关于hbm.xml文件按住Ctrl无法连接到相应地址问题

问题描述 :

      在eclipse的xml文件中,我们定义一个bean后(指定class并给出class的路径后,只要按住ctrl+鼠标左键便能够打开该类),但今天eclipe中突然失效,同时按住ctrl+鼠标左键不再显示我们希望看到的超链接

 

解决方案:

 

     可能原因:XML可能以 Spket XML Editor格式打开。

 

解决办法:在Associated editors选择框里点击“XML Editor*** ”,点击“Default”按钮。

具体为:

      1、XML Editior打开方法

Window -> Preferences -> General -> Editors -> File Associations 
     2、选择File types: *.xml

 

     3、Associated editors:XML Editor*** -> Default

 --------------------------------------------************尊重原创*************--------------------------------------------------

http://josh-persistence.iteye.com/blog/2285434

 --------------------------------------------************尊重原创*************--------------------------------------------------

posted @ 2018-03-27 09:28  向陽  阅读(729)  评论(0编辑  收藏  举报