Environment :
I'v setup a new Spring project and on right clicking on the directory structure to create a new java package there's no more new / package nor class option. I already faced that issue and the solution was to "Mark Directory as" the src directory as "sources root" (by right clicking on the src directory). But now this "Mark Directory as" option has disappeared.
奇怪:删除 .idea 根目录并重新启动 IDE 解决了问题。
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.