关于idea无法创建class类报错问题

Unable to parse template "Interface" Error message: This template did not produce a Java class or an interface

找到idea的安装目录,进入bin,找到文件idea.exe.vmoptions或者idea64.exe.vmoptions(随便其中一个)。

 

用记事本打开,在最后一行添加-Djdk.util.zip.ensureTrailingSlash=false。保存后重启idea即可。

 

posted on 2018-11-13 18:49  张猛  阅读(681)  评论(0)    收藏  举报

导航