Error creating Java file, but file created correctly
已回答
error msg:
Unable to parse template "Class"
Error message: unknown error
my class template
#if (${PACKAGE_NAME} && ${PACKAGE_NAME} != "")package ${PACKAGE_NAME};#end
#parse("File Header.java")
public class ${NAME} {
}
my File Header
/**
* @author lingting ${DATE} ${TIME}
*/
请先登录再写评论。
This happened after the last update
Does it help if you reset the templates to the defaults?
Does the issue occur with the default IDE settings? File | Manage IDE Settings | Restore Default Settings...: https://i.imgur.com/kbrkC7w.png.
If the issue persists, please report at https://youtrack.jetbrains.com/newIssue?project=IDEA with the logs attached: Help | Collect Logs and Diagnostic Data.
If you reset the template configuration alone, there will still be an error, but if you reset all settings to the default configuration, there will be no problem; thank you very much!