Eclipse打开文件的时候会报Error opening the editor. 的解决方法 。
2014-12-26 09:54
549 查看
在Eclipse打开xml或者jsp文件的时候,经常会报"Error opening the editor."错误,这个错误是因为类型名称与默认编辑器关联出错造成的。为了解决这个问题,可以进行如下操作:
依次打开
Windows==>Preferences==>General==>Editors==>File Associations
在File Type中选择刚刚打开出错的类型,比如刚刚是打开yhcip-config.xml文件出错的,则找到*.xml类型,(jsp 则找*.jsp类型。)点击,Associated editors框中会出现与之关联的编辑器,我们选择“MyEclipse XML editor”,然后点击右下角“Default
”。
将.xml默认打开的文件编辑器设置为MyEclipse XML editor,应用改动之后,再次打开类型的文件就不会出错了,其他类型出现此错误的时候,也可以按照此方法进行解决。
依次打开
Windows==>Preferences==>General==>Editors==>File Associations
在File Type中选择刚刚打开出错的类型,比如刚刚是打开yhcip-config.xml文件出错的,则找到*.xml类型,(jsp 则找*.jsp类型。)点击,Associated editors框中会出现与之关联的编辑器,我们选择“MyEclipse XML editor”,然后点击右下角“Default
”。
将.xml默认打开的文件编辑器设置为MyEclipse XML editor,应用改动之后,再次打开类型的文件就不会出错了,其他类型出现此错误的时候,也可以按照此方法进行解决。
相关文章推荐
- Eclipse打开文件的时候会报Error opening the editor. 的解决方法
- MyEclipse 打开文件的时候会报 Error opening the editor. 错误的解决方法
- MyEclipse 打开Struts配置文件时出错的终级解决办法------Error opening the editor.------at org.eclipse.ui.internal.WorkbenchPage.openEditor
- 打开eclipse遇到:Invalid Configuration Location和an error has occurred see the log file问题的解决方法
- Myeclipse 6.0 打开jsp文件报错:Error opening the editor. com/genuitec/javascript/debug/
- 解决myeclipse struts editor error (打开struts配置文件的时候,报个这样的编辑器错误)
- VC中Error spawning cl.exe错误的解决方法.( 无法打开文件 winresrc.h)
- Eclipse中未能打开编辑器:Unmatched braces in the pattern 的解决方法
- Eclipse build error 解决方法The library '*.jar' contains native libraries that will not run on the dev
- eclipse The connection to adb is down, and a severe error has occured 解决方法
- Win7下如何用Eclipse导出jar类型的文件,如何用鼠标双击打开jar类型的文件的方法及解决双击后一闪而过的问题
- PowerDesigner打开设计文件后提示failed to read the fileXXX的解决方法
- eclipse启动出现“An Error has Occurred. See the log file”解决方法
- eclipse 中打开jsp文件较慢解决方法
- Eclipse开发过程中,加载类时候找不到class文件的解决方法
- IIS打开ASP文件出现Server Application Error提示的解决方法,本人亲历,成功
- ubuntu下eclipse打开java文件,注释内容为乱码的解决方法
- [转]Eclipse中未能打开编辑器:Unmatched braces in the pattern 的解决方法
- 打开eclipse时 出现eclipse failed to create the java virtual machine 解决方法
- ubuntu下eclipse打开java文件,注释内容为乱码,解决方法。