出现错误如下:
提示错误信息:Could not open the editor: An unexpected exception was thrown.
java.lang.NullPointerException 。。。。。。。。。。
解决办法:
如果是xml 文件:
struts-config.xml目录上面点击右键--> open with --> xml editor
如果是jsp页面:
openwith-->jsp editor
本文提供了一种解决在IDE中遇到的XML和JSP文件无法使用相应编辑器打开的问题的方法。当尝试打开文件时出现Couldnotopentheeditor:Anunexpectedexceptionwasthrown.错误时,可以通过右键选择openwith并指定对应的XML或JSP编辑器来解决。
出现错误如下:
提示错误信息:Could not open the editor: An unexpected exception was thrown.
java.lang.NullPointerException 。。。。。。。。。。
解决办法:
如果是xml 文件:
struts-config.xml目录上面点击右键--> open with --> xml editor
如果是jsp页面:
openwith-->jsp editor

被折叠的 条评论
为什么被折叠?