struts-config.xml 在myeclipse打开是提示 Project xxx is not configured as a MyEclipse Web-Struts Project
2012-05-05 08:59
405 查看
Project xxx is not configured as a MyEclipse Web-Struts Project
解决办法一:,在项目下的.project文件里添加一行代码<nature>com.genuitec.eclipse.cross.easystruts.eclipse.easystrutsnature</nature>,结果如下</projectDescription>
......
</natures>
......
<nature>com.genuitec.eclipse.cross.easystruts.eclipse.easystrutsnature</nature>
</natures>
</projectDescription>
刷新工程就可以正常打开了
解决办法二:
右键单击工程,选择MyEclipse-> add Struts capabilities
另外,注意:project有没有加入Web-project特性。
若没有,则项目名点右键,选择MyEclipse --> 添加web-project特性就行了,此时,又一个问题:默认为WebRoot,而我的却为web,在添加web-project特性时修改一下就ok了!
来自:http://www.blogjava.net/hwqismyname/archive/2010/05/28/322108.html
相关文章推荐
- Project xxx is not configured as a MyEclipse Web-Struts Project
- Project xxx is not configured as a MyEclipse Web-Struts Project
- Project xxx is not configured as a MyEclipse Web-Struts Project
- Project xxx is not configured as a MyEclipse Web-Struts Project
- web 项目中打开 hibernate.cfg.xml 文件时 提示:The project is not a myEclipse hibernate project
- Project **** is not configured as a MyEclipse Web-Struts Project.
- Project*** is not configured as a MyEclipse Web-Struts Project. Therefore the MyEclipse Struts
- web 项目中 打开 hibernate.cfg.xml 文件时 提示:The project is not a myEclipse hibernate project
- myeclipse不能使用默认编辑器打开导入的struts项目的struts-config.xml,Therefore the MyEclipse Struts Editor may not be u
- web.xml 出现content is not allowed in prolog的提示
- Unable to start debugging on the web server. The project is not configured to be debugged.
- myeclipse中写struts.xml配置文件打开提示功能
- 打开struts-config.xml 报错 解决办法Could not open the editor
- Mysql 出现错误The server is not configured as slave; fix in config file or with CHANGE MASTER TO
- mySql主从配置出错:The server is not configured as slave; fix in config file or with CHANGE MASTER TO
- 打开qt出现提示无法覆盖文件 /home/xxx/.config/Qtcreator/qtversion.xml : Permission denied
- struts-project.xml无法用MyEclipse JSP Editor打开,报错原因
- 在struts-config.xml中配置validator-plugin导致404 Servlet action is not available
- Ubuntu12.10中打开Qt creator,提示无法覆盖文件 /home/xxx/.config/Nokia/qtversion.xml : Permission denied
- myEclipse 打不开struts-config.xml 报Could not open the editor: An unexpected exception was thrown 错误(转载)