再用myEclipse 打开struts-config.xml无法打开!!
错误时--Error opening the editor.这是怎末回事??怎末解决  

解决方案 »

  1.   

    myeclipse的插件有问题,你选择用text editor的方式打开
      

  2.   

    Myeclipse因该有加打开的插件的,我看lz的是复制个项目过来后打开那个struts-config.xml就有问题了解决方法:
    新建一个项目,然后加上struts的插件,让myeclipse识别这个项目是struts
      

  3.   

    My eclipse 有事就那样,无缘无故的就给你来点错误,
    或者类文件无法编译之类,也许过段时间就好了
      

  4.   

    http://jmhmlu.blog.163.com/blog/static/161612298201142985234461/
      如果是自己手工搭建struts的开发环境,手工编写struts-config.xml文件,或者从其他项目中复制struts-config.xml文件到当前项目。双击打开struts-config.xml文件,默认使用的是MyEclipse Struts Config Editor,就会报错Error opening the editor,can not change undo manager  once its  been set。       网上很多人都建议,在struts-config.xml文件文件上右键,选择使用其它的文件编辑器打开。但是,这样就没法使用MyEclipse的图形化编辑了。个人经过尝试发现,原来MyEclipse编辑Struts的图形界面,是有一个相应文件的支持的。这个文件就放在当前项目的WEB-INF目录下,也就是与struts-config.xml文件是在同一个目录下。在MyEclipse的工程下,是看不到这个文件的。        解决方法:关闭MyEclipse,打开“我的电脑”进入MyEclipse的workspace目录,找到当前工程的WebRoot\WEB-INF目录,会发现有一个文件,名字为“.struts-config.mex”。删除这个文件,启动MyEclipse,然后双击,或者右键,选择用“MyEclipse Struts Config Editor”打开struts-config.xml文件,会弹出一个窗口,说找不到文件“.struts-config.mex”,问是否创建,点击“OK”按钮。        哈哈!漂亮的图形化编辑界面就出现了!
      

  5.   

    如果有。mex文件 就不会出问题了吧?
    打开struts-config.xml 报错解决办法Could not open the editor 
    2011-08-20 12:54
    错误信息:Could not open the editor: Project SSH 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.解决方法:找到你工程下的.project文件,打开,在<natures>节点下面加上<nature>com.genuitec.eclipse.cross.easystruts.eclipse.easystrutsnature</nature>就可以了。
    重启myeclipse 他会问你是否创建.mex 点确定就ok了