一、错误信息
Unable to parse template "Class" Error message: Selected class file name 'PersonTest.java' mapped to not java file type 'Auto-detect file type by content'
翻译一下:
无法分析模板“Class”
错误消息:选择的类文件名为“PersonTest”,映射到非java文件类型 “Auto-detect file type by content” 类型。
二、解决
找一下文件类型,找到 “Auto-detect file type by content” ,看到因为某一些误操作导致创建了一个文件模板:点击选中这个失误模板,再点击 -
删除即可。