在eclipse里打不开文件并且报错

出现错误如下:

提示错误信息: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

猜你喜欢

转载自blog.csdn.net/qq_38302155/article/details/85280311