打开struts-config.xml 报错 解决方法Could not open the editor

打开struts-config.xml 报错 解决办法Could not open the editor

错误信息:Could not open the editor: Project XXX is not configured as a MyEclipse Web-Struts Project. Therefore the MyEclipse Struts Editor may not be used with struts-config.xml. The default XML Editor has been used to open the file instead.

解决方法:找到你工程下的.project文件,打开,在<natures>节点下面加上

<nature>com.genuitec.eclipse.cross.easystruts.eclipse.easystrutsnature</nature>

就可以了。

上一篇:[转]使用Java Mission Control进行内存分配分析


下一篇:navagationController 的子控制器如何取消右滑返回