javaspring-bootintellij-idea

Intellij doesnt show package option when I right click


Intellij doesnt show package option when I right click, I was trying to create new package on my project. I am adding the screenshot. Is there anybody know the solution? enter image description here


Solution

  • Make sure that

    1. the module of the Java type
    2. the directory where you are trying to create a package or a Java/Kotlin class is marked as a source root type.