MyEclipse 打开xml配置文件时出错

错误提示:

org.eclipse.ui.PartInitException: Project newsjq 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文件里添加一行代码<nature>com.genuitec.eclipse.cross.easystruts.eclipse.easystrutsnature</nature>,把这个加上去,就OK 了.

你可能感兴趣的:(eclipse,xml,UI,struts,MyEclipse)