It doesn't comply with the Maven
conventions. The picture shows there is no
"src/main/webapp" folder that includes all stuff related to
As for the "WebContent" folder, it's
the WTP convention. You should move all stuff in it to
src/main/webapp, and try again.
Actually, I first created this project with maven until someone at Hibernate forum told me I have to use maven.
I am not quite sure what you meant by move all stuff into src/main/webapp.
I have moved all the jsp under WebContent folder do I also have to move all the java classes to this src/main/webapp?
Furthermore, I have tried to create a totally new maven project from scratch but I am not sure should I use maven archetype or maven plug-in ?
The youtube video shows that one could manipulate the folders and resources via pom...
In this case, what would be the best way to do it ?
I'd appreciate it if you could point me to some resources. I have checked maven documentation but i have no idea when to use maven archetype and maven plug-in...it seems that i can change version along the way and changed accordingly....is that correct ? And I should just create a simple maven project to start first and then use my old pom and build up from there again ?
As I knew, JSF wouldn't automatically
add something to form a URL.
Frankly, your issue is related to JSF.
Even in a JSF project, JSP can work normally.