You can manage your web app deployment descriptors, web resource directories, and Java web source roots in the Project Structure dialog. Make sure to uncheck Create simple project (skip archetype selection) option, for reasons listed below. Create an Exploded WAR artifact configuration. If you are using any other Eclipse product like Neon then replace oxygen with neon. To run the project, right-click the server and select Debug or Start. These cookies help provide information on metrics the number of visitors, bounce rate, traffic source, etc. After this, a pop-up window will occur like the following. We extend web server's HttpServlet to receive and respont to You can also build a classic WAR file. This is a WAR file. By default, all necessary plugins are bundled and enabled in IntelliJIDEA Ultimate. The GlassFish application server version 4.0 or later. In this tutorial session, I will explain the process to create maven based web project in the IntelliJ IDEA community edition. Step 3: Browse your Web Project . Fix any warnings that appear at the bottom of the run configuration settings dialog. Then create a new dynamic project using File > New > Project (Figure 3). Provide a server hostname and server name. Language: Choose the programming language as per your requirement. Generate Deployment Descriptor Stub. It makes sense to name the same as your project name. In your eclipse ide right click Project Explorer or click File. jersey-container-servlet Like someone said in the above comments we need to use artifacts. You also see the pom. , The HelloServlet class extends HttpServlet and is annotated with @WebServlet. This is where you will save the web project on your disk. javax.ws.rs The GlassFish application server version 4.0 or later. Was Galileo expecting to see so many stars? In the Update dialog, select Update resources because the JSP page is a static resource. junit-jupiter-engine pre-defined archtypes to select from. The first section of code defines the war and liberty plug-ins that you want to use. Now how to tell the Spring that this is our controller class.