Now you have a Java dynamic web project with Maven support. Eclipse is an integrated development environment (IDE) used in computer programming,specially for JAVA. The whole content of the pom.xml file would look like this: This dependency is needed to write code that uses Servlet API, e.g. It is the Project Object Model configuration file used by Maven.Now edit the pom.xml file to specify the dependency for Java Servlet API: You will the project’s icon is updated with “M” letter – indicating it is a Maven project: You also see the pom.xml file is generated in the project’s root directory. Right-click on the project (in the Project Explorer) and do a Maven update. Edit. and change the dynamic web module to 4.0 and save the changes. Then in the Create new POM dialog, enter essential information for a Maven project like Group Id, artifact Id, version, name and description: Note that the Packaging type is war by default because this is a Java web project which will be packaged into a WAR file to deploy.Then click Finish. The Facets grid is probably empty, click the Modify Project button. Double click the project folder in the workspace and go to the.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |