当前位置: 代码迷 >> Eclipse >> 打开struts配置文件时老是出错
  详细解决方案

打开struts配置文件时老是出错

热度:82   发布时间:2016-04-23 14:41:00.0
打开struts配置文件时总是出错!
不经意把原来旧的eclipse   delete了,因此装了个新的,然后安装好myeclipse,搭配好环境后然后导入之前做的project,但是问题出现在用myeclipse的编辑工具打开struts配置文件时就出现了这样的提示框,内容是:“Unable   to   create   this   part   due   to   an   internal   error.   Reason   for   the   failure:   Project     is   not   configured   as   a   MyEclipse   Web-Struts   Project.   ”但是我的project明明是用MyEclipse   Web-Struts   Project创建的啊,只不过是从旧的eclipse转移到新的而已,这究竟是什么原因呢???郁闷。。。。。。。

------解决方案--------------------
我的也是~哪位高手指点一二~
------解决方案--------------------
在新建工程之后,右键单击工程,选择MyEclipse-> add Struts capabilities。根据提示将struts组建添加到工程里,再把原工程导入进来。
------解决方案--------------------
新的工程没有添加Struts能力
  相关解决方案