# [IntelliJ Error] Unable to parse template Class, mapped to not java file type 'Auto-detect file type by content'

When i program on IntelliJ, I saw the error like under. I want to see ‘Article.java’ to java file, but i just can see on this file text type. This is a matter.

Cannot Create Class

Unable to parse template "Class"
Error message: Selected class file name
'ArticleForm.java' mapped to not java file type 'Auto-detect file type by content'


I found this issue and find solve way. If we see Preferences > Editor > File Types, we can find Auto-detect file type by content. On that menu, there is a file that we cannot see java.

If you delete this file name patterns, you can see well java file. It is easy to solve.