June 2018
Intermediate to advanced
596 pages
12h 39m
English
The Maven project wizard creates src and target folders under the main project folder. As the name suggests, all source files go under src. However, Java package structure starts under the main folder. By convention, Maven expects Java source files under the java folder. Therefore, create a java folder under src/main. The Java package structure starts from the java folder, that is, src/main/java/<java-packages>. Web content such as HTML, JS, CSS, and JSP goes in the webapp folder under src/main. Compiled classes and other output files generated by the Maven build process are stored in the target folder:
