Enter the name of the Web project into the Project Name field. (More Fix any warnings that appear at the bottom of the run configuration settings dialog. com.example war This cookie is set by GDPR Cookie Consent plugin. Step #3: Go to next Page ie the Project Facets page. maven-war-plugin These projects provide the necessary functionality to run, debug and deploy Java web applications. The GlassFish application server version 4.0 or later. It's located in the project's root. Add servlet to the dynamic web project. For this tutorial, use Oracle OpenJDK 17 as the project SDK and select the REST service template. Click and select Glassfish ServerTomcat. If not, try opening the URL yourself: http://localhost:8080/RestGlassfishHelloWorld-1.0-SNAPSHOT/api/hello-world, If not, try opening the URL yourself: http://localhost:8080/RestTomcatHelloWorld_war_exploded/api/hello-world. Follow these quick steps to create an embedded Tomcat server in Eclipse and deploy the project. Site design / logo 2023 Stack Exchange Inc; user contributions licensed under CC BY-SA. pom.xml is the Project Object Model with Maven configuration information, including dependencies and plugins necessary for building the project. Browse the Tomcat Server download location and set the Tomcat installation directory. If you get a 404 error, make sure you have selected the Jakarta EE specification version that is compatible with your version of GlassFish when creating the project. How can we include a resources directory to the artifact?