用MyEclipse struts config editor 编辑器编辑Struts的配置文件错误:
org.eclipse.ui.PartInitException: Project fuNan_eAdmin is not configured as a MyEclipse Web-Struts Project. Therefore the MyEclipse Struts Editor may not be used with struts-action.xml. The default XML Editor has been used to open the file instead.
at com.genuitec.eclipse.struts.editor.multipage.StrutsConfigEditor.init(StrutsConfigEditor.java:475)
at org.eclipse.ui.internal.EditorManager.createSite(EditorManager.java:794)
at org.eclipse.ui.internal.EditorReference.createPartHelper.....
解决方法:
方法1.在项目上点击右键,选择“myeclipe”下的“add struts capabilities”即可解决
方法2.若方法一不能解决,则找到项目所在目录,找到.project文件。在<natures>节点中添加<nature>com.genuitec.eclipse.cross.easystruts.eclipse.easystrutsnature</nature>,重新打开项目问题即可解决。
分享到:
相关推荐
myeclipse版activiti5.18插件(打开bpmn文件不报错) 之前在myeclipse上安装activiti5.18,结果打开bpmn文件是报错的,后来发现是少了一些东西;
MyEclipse 配置文件 一些基础配置 比如字体大小,默认打开方式jsp编码等
struts2国际化MyEclipse开发struts2国际化MyEclipse开发童叟无欺
MyEclipse去掉烦人的Js文件报错MyEclipse项目中,对于js文件烦人的报错可以这么修改,右键项目-》属性-》Builders,取消勾选 JavaS
myeclipse和struts配置使用
一个struts2+myeclipse的配置小例,希望对struts2初学者有所帮助。
myeclipse配置文件,配置自动提示等,myeclipse配置文件,配置自动提示等
jsp+Struts+mysql+Myeclipse 登录注册 适合初学者学习
初学者struts2 myeclipse开发实例,登陆界面
初学者初次学习struts相当好,我第一次学struts就是看这个的,一看就懂,图文教程
Myeclipse js引入报错问题Myeclipse js引入报错问题
关于MyEclipse对Struts2配置文件较检异常 Invalid result location valueparamete
myeclipse10系列导出war包报错的解决方案
myeclipse导包war报错解决方案 ,希望对大家有帮助
Spring2 Struts2 Hibernate3 MyEclipse 整合开发实例, 请先看该压缩文件内的说明.txt 。
MyEclipse安装及安装报错及卸载干净的解决方法
解决myeclipse自动关闭问题配置文件解决myeclipse自动关闭问题配置文件解决myeclipse自动关闭问题配置文件解决myeclipse自动关闭问题配置文件
如何使用用myeclipse自动生成hibernate配置文件
在myeclipse中配置hibernate 自动生成配置文件在myeclipse中配置hibernate 自动生成配置文件
这个资源对刚想学习struts2的新手来说,是很有帮助的。解压后直接导入到Myeclipse项目工程就可以了。启动tomcat。就可以了