IntelliJ does not show 'Class' when we right click and select 'New'

后端 未结 8 1081
小鲜肉
小鲜肉 2020-12-07 10:26

We\'re creating a new project in IntelliJ and must have something wrong because when we right click on a directory, select New and then get the context menu, Java b

8条回答
  •  再見小時候
    2020-12-07 11:18

    There is another case where 'Java Class' don't show, maybe some reserved words exist in the package name, for example:

    com.liuyong.package.case

    com.liuyong.import.package

    It's the same reason as @kuporific 's answer: the package name is invalid.

提交回复
热议问题