Idea无法新建Class or Interface 报错如下:
Unable to parse template "Class"Error message: This template did not produce a Java class or an interfaceError parsing file template: Unable to find resource 'Package Header.java'
Fix方法:
找到Idea安装目录: 如 : C:\Program Files (x86)\JetBrains\IntelliJ IDEA 14.1.6\bin
修改
idea.exe.vmoptions 或 idea64.exe.vmoptions中加入 如下配置保存后重启Idea即可:
-Djdk.util.zip.ensureTrailingSlash=false
网友评论