idea不能新增class

图片和解决方案在 http://bbs.csdn.net/topics/391991097 可找,本文最下也有

Unable to parse template "Class"

Error message: This template did not produce a Java class or an interface
由于使用了64位的idea在某种情况下导致模版全空了

解决办法

在idea.exe.vmoptions 或 idea64.exe.vmoptions中加入配置
-Djdk.util.zip.ensureTrailingSlash=false
重启,亲测可用

posted @ 2017-10-16 00:00  条纹双肩包  阅读(134)  评论(0编辑  收藏  举报