In Maven2 I've created the maven-archetype-webapp. I see the webapp and resource directory, but where is my java directory?
Do I create it manually, and if so, would I need to configure the pom.xml to recognize that this new java directory is where my classes are located?
The webapp archetype for maven doesn't automatically create a java directory. As noted here, you can create it yourself.
Simply create a java directory under main (i.e. src/main/java) and right-click on your project and select Maven > Update Project Configuration.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With