What is the acceptable folder structure for Java projects in IntelliJ IDEA?
Several sources ( like this ) suggest the following structure:
[] .idea [] src [] main [] java com.simpleproject SimpleClass.java [] resources [] test [] java com.simpleproject SimpleClassTest.java [] resources
I know this worked before, but right now complains java.lang.SecurityException: Prohibited package name: java
Apparently, java not resolved as a package name. I do not understand why this is sometimes acceptable, and sometimes unacceptable. Can someone provide a complete example of an acceptable project folder structure in a Java project in IntelliJ IDEA?
java intellij-idea
Atte juvonen
source share