![]() Now you have a Java dynamic web project with Maven support. 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. In the left pane, select Modules or Facets. From the main menu, select File Project Structure or press Ctrl+Alt+Shift+S. 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 can manage your web app deployment descriptors, web resource directories, and Java web source roots in the Project Structure dialog. In this article we conduct an in-depth research to help you. 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. NET for web application development project is never an easy task. 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.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |