当我new class的时候,提示以下错误:
Unable to parse template "Class"
Error message: This template did not produce a Java class or an interface
Error parsing file template: Unable to find resource 'Package Header.java'
这种情况是class的template模板被更改了。改回来就可以了。
#if (${PACKAGE_NAME} && ${PACKAGE_NAME} != "")package ${PACKAGE_NAME};#end
#parse("File Header.java")
public class ${NAME} {
}