When you create a Web application using Maven and import it in Eclipse, you may not see src/main/java folder in the Project or Package Explorer.
Right click on the Maven Project, select Build Path and then Configure Build Path
In Order and Export tab, you can see the message like ‘2 build path entries are missing’
Select ‘JRE System Library’ and ‘Maven Dependencies’ checkbox and click OK.
Now you should see src/main/java and src/test/java folders in Package Explorer or Project Explorer.
© 2016, https:. All rights reserved. On republishing this post, you must provide link to original post