用MyEclipse做SHS集成是遇到的struts.xml问题

wing1119 2010-07-14 10:54:45
错误提示如下:Project shop1 is not configured as a MyEclipse web-Struts Project.Therefor the MyEclipse Struts Editor may not be used with sturts-confid.xml.The default XML Editor has been used to open the file instead.

高手帮小弟解决一下,我都快疯了!先谢谢大家!
...全文
47 4 打赏 收藏 转发到动态 举报
写回复
用AI写文章
4 条回复
切换为时间正序
请发表友善的回复…
发表回复
hh20000 2010-07-15
  • 打赏
  • 举报
回复
是的 楼主自己马虎了 呵呵 我知道了
wing1119 2010-07-14
  • 打赏
  • 举报
回复
解决办法一:,在项目下的.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
以上是我从网上搜来的解决办法,希望对大家有帮助!
wing1119 2010-07-14
  • 打赏
  • 举报
回复
对,写错了,谢谢提醒
该怎么解决???
closewbq 2010-07-14
  • 打赏
  • 举报
回复
sturts-confid.xml
sturts-config.xml吧?

50,526

社区成员

发帖
与我相关
我的任务
社区描述
Java相关技术讨论
javaspring bootspring cloud 技术论坛(原bbs)
社区管理员
  • Java相关社区
  • 小虚竹
  • 谙忆
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧