前往小程序,Get更优阅读体验!
立即前往
首页
学习
活动
专区
工具
TVP
发布
社区首页 >专栏 >【idea基础】创建类是报错

【idea基础】创建类是报错

作者头像
用户5640963
发布2019-07-25 14:46:36
5860
发布2019-07-25 14:46:36
举报
文章被收录于专栏:卯金刀GG卯金刀GG

错误提示:

Unable to parse template "Class"

Error message: Selected class file name 'SampleController.java' map to not java file type "text-file"

解决方法

因: Step 1: Click “File”==> “Settings”

Step 2: Expand “Editor” & Click “File Types”

Step 3: You will see all file types on Right. Navigate to the “Text Files” and Click it

Step 4: You should able to see your file name on the bottom of Registered Patterns (lower box)

Step 5: Remove your file from the Registered Patterns. The problem should solved and let you to rename with SampleController.java

Step 6: If not, delete the file from the project and create it again with name fileName

删除SampleController.java即可

本文参与 腾讯云自媒体分享计划,分享自作者个人站点/博客。
如有侵权请联系 cloudcommunity@tencent.com 删除

本文分享自 作者个人站点/博客 前往查看

如有侵权,请联系 cloudcommunity@tencent.com 删除。

本文参与 腾讯云自媒体分享计划  ,欢迎热爱写作的你一起参与!

评论
登录后参与评论
0 条评论
热度
最新
推荐阅读
领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档