解决Eclipse3.4 Unmatched braces in the pattern 问题
来源:互联网 发布:中国瓷器品牌知乎 编辑:程序博客网 时间:2024/05/01 05:53
今天在MyEclipse 7.0-M2下查看class文件的时候提示“Unmatched braces in the pattern”,通过Google发现出现此问题的大部分是Eclipse3.1.x的中文版,网上给出的解决方法是:
如果你用的是MyEclipse 7.0-M2,需要找到“C:/Program Files/MyEclipse 7.0 M2/eclipse/plugins/org.eclipse.jdt.core.nl-zh_3.4.0.v20081109043401.jar”文件,解压后找到“/org/eclipse/jdt/internal/core/util/messages_zh.properties”这个文件,用记事本搜索“disassembler_opentypedeclaration”,将“disassembler_opentypedeclaration=/ /u2018{/u2019
disassembler_closetypedeclaration=}
”替换为“disassembler_opentypedeclaration={
disassembler_closetypedeclaration=}
”,红色字体为修改内容,修改完毕后,重新打包替换“org.eclipse.jdt.core.nl-zh_3.4.0.v20081109043401.jar”即可
你也可以下载附件里的“org.eclipse.jdt.core.nl-zh_3.4.0.v20081109043401.jar”进行替换,替换的时候需要关闭MyEclipse
引用
由错误报告出现问题的org.eclipse.jdt.internal.core.util.Messages 类, disassembler_opentypedeclaration 字段,对应于语言包插件 plugins 目录下的 org.eclipse.jdt.core.nl1_3.1.1.jar 包,该包 org/eclipse/jdt/internal/core/util 目录下的 messages_zh.properties 文件,有段代码为 disassembler_opentypedeclaration=/ /u201C{/u201D,有的可能为
disassembler_opentypedeclaration=/ “{”,
同目录下的其它语言文件这段代码为 disassembler_opentypedeclaration=/ ‘{’,
这可能是 Eclipse 在语言转换时产生的错误. 修改代码 /u201C{/u201D (或“{”) 为 ‘{’.
解压 org.eclipse.jdt.core.nl1_3.1.1.jar, 修改 messages_zh.properties 文件,
再压缩成 .zip 文件, 改扩展名为 .jar (或 jar 命令打包), 在Eclipse 关闭时替换原来的 jar 包 即可.
disassembler_opentypedeclaration=/ “{”,
同目录下的其它语言文件这段代码为 disassembler_opentypedeclaration=/ ‘{’,
这可能是 Eclipse 在语言转换时产生的错误. 修改代码 /u201C{/u201D (或“{”) 为 ‘{’.
解压 org.eclipse.jdt.core.nl1_3.1.1.jar, 修改 messages_zh.properties 文件,
再压缩成 .zip 文件, 改扩展名为 .jar (或 jar 命令打包), 在Eclipse 关闭时替换原来的 jar 包 即可.
如果你用的是MyEclipse 7.0-M2,需要找到“C:/Program Files/MyEclipse 7.0 M2/eclipse/plugins/org.eclipse.jdt.core.nl-zh_3.4.0.v20081109043401.jar”文件,解压后找到“/org/eclipse/jdt/internal/core/util/messages_zh.properties”这个文件,用记事本搜索“disassembler_opentypedeclaration”,将“disassembler_opentypedeclaration=/ /u2018{/u2019
disassembler_closetypedeclaration=}
”替换为“disassembler_opentypedeclaration={
disassembler_closetypedeclaration=}
”,红色字体为修改内容,修改完毕后,重新打包替换“org.eclipse.jdt.core.nl-zh_3.4.0.v20081109043401.jar”即可
你也可以下载附件里的“org.eclipse.jdt.core.nl-zh_3.4.0.v20081109043401.jar”进行替换,替换的时候需要关闭MyEclipse
- 解决Eclipse3.4 Unmatched braces in the pattern 问题
- Unmatched braces in the pattern
- Eclipse3.4 安装中文语言包后class文件打开错误!(Unmatched braces in the pattern)
- 完美解决 未能打开编辑器:Unmatched braces in the pattern.
- 完美解决 未能打开编辑器:Unmatched braces in the pattern.
- 完美解决 未能打开编辑器:Unmatched braces in the pattern.
- 完美解决 未能打开编辑器:Unmatched braces in the pattern.
- 完美解决 未能打开编辑器:Unmatched braces in the pattern.
- 完美解决 未能打开编辑器:Unmatched braces in the pattern.
- 完美解决 未能打开编辑器:Unmatched braces in the pattern.
- 完美解决 未能打开编辑器:Unmatched braces in the pattern.
- Eclipse中文版的Unmatched braces in the pattern错误
- eclipse-3.1.1-Unmatched braces in the pattern
- Eclipse未能打开编辑器:Unmatched braces in the pattern
- Eclipse未能打开编辑器:Unmatched braces in the pattern
- Eclipse未能打开编辑器:Unmatched braces in the pattern
- android 未能打开编辑器:Unmatched braces in the pattern 解决方法
- Android开发中的代码关联问题:Failed to create the part'sControls(Unmatched braces in the pattern.)
- 地址总线,字长,内存容量,寻址范围 之间的计算
- Apache中对access.log文件日期格式的设置
- Symbian开发简述(描述符)
- 类的继承
- 解决数据内有'的sql语句
- 解决Eclipse3.4 Unmatched braces in the pattern 问题
- 解决eclipse无法启动问题
- 删除重复记录
- 我的MiniGUI移植之路
- 相对路径与绝对路径
- 设计一个单链表的类模板,使其能够完成单链表的创建和显示
- HTK 语音识别 ASK
- QT编程国际化的点点滴滴
- 第一个cuda例子