Eclipse xml文件中ctrl+左键不能打开对应的Java类 - 不能显示超链接
问题描述 :
? ? ? 在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