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.
You can fix it using the following steps :
Step 1:
Right click on the Maven Project, select Build Path and then Configure Build Path
Step 2:
In Order and Export tab, you can see the message like ‘2 build path entries are missing’
Step 3:
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, www.topjavatutorial.com. All rights reserved. On republishing this post, you must provide link to original post
#
It’s working. thanks a lot
#
Thanks you for the assistance…
#
thanks, worked well here
#
It worked, thanks..
#
best solution thanks alot….. 🙂