打开struts-config.xml 报错解决办法Could not open the editor
错误信息:Could not open the editor: Project SSH 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>
就可以了,如果是在myeclipse打开的情况下修改的,注意重启
文章详细介绍了在MyEclipse中遇到无法编辑struts-config.xml文件的错误时,如何通过修改.project文件来解决问题。通过在<natures>节点下添加指定的属性,可以将项目配置为使用MyEclipse Struts编辑器,从而解决无法打开或编辑struts-config.xml文件的问题。
261

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



