I tried to create a maven webapp project in Intellij, it creates the maven folder structure like this:
-src
---main
------resources
------webapp
But it does not create the "java" folder. If i try to create it manually, when i right click the Java folder it does not give me the option "new Class" or "new package", just "new file" or "new folder".
How to make the IDE understand the folder as a java folder?