在eclipse+myeclipse的组合中写了一个简单的项目,结果在打开struts-config.xml配置文件时出现如下错误:project myLogin id 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.eclipse3.3.2+myeclipse6.5版本的组合,请高手帮我分析一下,谢谢!

解决方案 »

  1.   

    说的是你这个项目不是Struts项目,所以不能用struts编辑器打开,只能用默认的XML编辑器打开。
    打开myeclipse-->
    右击项目-->MyEclipse-->Add Struts Capabilities ...。要是没有“Add Struts Capabilities ”,我的做法是新建一个web工程,再执行上述动作,再把之前项目的代码导入进来。
      

  2.   

    lz忘记添加Struts容器了,选中你的项目,然后按照一楼的的来做应该就没问题了
      

  3.   

    就是啊 直接导入 struts就可以了。
      

  4.   

    Add Strus capabilities 添加Struts容器,同意楼上
      

  5.   

    确实是Struts的问题,问题解决了,谢谢大家!