中易网

在MyEclise打不开struts-config.xml

答案:3  悬赏:50  
解决时间 2021-04-28 04:19
  • 提问者网友:美人如花
  • 2021-04-27 20:59
在MyEclise打不开struts-config.xml , 它提示: 未能打开编辑器:Project login is 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.
最佳答案
  • 二级知识专家网友:湫止没有不同
  • 2021-04-27 22:37

右键点击的xml文件   open with   选择一个xml编辑的那个打开


Struts-config.xml是默认用MyEclipse Struts Vausio Editor  可视化打开的


你换成不是可视化的试试,不行就重启下Myeclipse试试!


全部回答
  • 1楼网友:寂寞的炫耀
  • 2021-04-28 01:19
这个提示是说你的struts-config.xml 文件不是你的工程中的配置文件,你不可以在这个工程中打开别的struts-config.xml 文件,你能查看到这个文件的代码,但是不能看到图形。
  • 2楼网友:哭不代表软弱
  • 2021-04-28 00:06
struts-config.xml是copy来的吧?还有struts是不是用MyEclise添加的支持? 对struts-config.xml右键,选MyEclise XML Editor打开
我要举报
如以上回答内容为低俗、色情、不良、暴力、侵权、涉及违法等信息,可以点下面链接进行举报!
点此我要举报以上问答信息!
大家都在看
推荐信息