Create a Maven Project
1 - Create a Dynamic Web Project :
2 - Create the name of your project and click next
3 - remove the src folder
click add folderadd : src/main/java
src/main/resources
src/main/test
src/main/webapp
and click next
change the Content directoryand check the Generate web.xml deployment descriptor
4 - change the Dynamic web Project to Maven Project
5 - Generate The Pom.xml
Specify the : GroupId & ArtifactId
Packaging : war = a web project
jar = a jar project
Click finish
Comments
Post a Comment