问题描述:

  在MyEclipse打开xml或者jsp文件的时候,经常会报 "Error opening the editor." 错误,这个错误是因为类型名称与默认编辑器关联出错造成的。

  MyEclipse 打开文件的时候会报 Error opening the editor.  错误的解决方法

解决办法:

  依次打开:
    Windows --> Preferences --> General --> Editors --> File Associations
    在File types中选择刚刚打开出错的类型,比如刚刚是打开 struts.xml 文件出错的,则找到*.xml类型,点击 Associated editors 框中会出现与之关联的编辑器,我们选择“MyEclipse XML editor”,然后点击右下角“Default”
    将.xml默认打开的文件编辑器设置为MyEclipse XML editor,应用改动之后,再次打开类型的文件就不会出错了,其他类型出现此错误的时候,也可以按照此方法进行解决。

  MyEclipse 打开文件的时候会报 Error opening the editor.  错误的解决方法

相关文章:

  • 2022-01-22
  • 2022-12-23
  • 2021-12-24
  • 2021-05-13
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-12-05
  • 2021-06-07
  • 2022-12-23
  • 2022-01-22
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案