I\'m trying to create a very simple webapp with maven and eclipse, but I\'m having no joy at all, in fact the reverse of joy.
I go to File -> New Project, select Mav
a webapp structure gets generated but with no 'java' directory under main
Create src/main/java on your own.
furthermore, there seems to be no compilation of it by java. I can make stupid errors and no syntax highlighting comes up. It's like java isn't recognizing it.
after creating appropriate dir structure execute the maven command
mvn eclipse:eclipse
then refresh the project in eclipse.
-SE