4.0.0 In the Version field, select Jakarta EE 9.1 because that's what GlassFish 6.2.5 used in this tutorial is compatible with. when you access a specific URL through the web browser or otherwise send a GET request to this URL. Step 1: Open your IntelliJ IDE, and go to the File > New > Project as shown in the below image. This information is valid for projects that are built with the native IntelliJIDEA builder. Name the project HelloWorld. in the bottom of this tab you can see some tasks (generally, Choose the artifact generated in the previous step. If something does not work, make sure that the following plugins are enabled: For more information, see Install plugins. Follow this post to deploy this app on Tomcat Click Next. You can download GlassFish from the official project website. Don't select or add an application server, we will do it later.
Web applications Ultimate. Now you have a Java dynamic web project with Maven support. When you create a maven project, maven usually stores all the project related files in a common folder named ./m2 (dot m2). This results in a project_name.WAR file that you can deploy in a server. In the dialog that opens, select Web Application and select a version of the Servlet specification. 1.8 Upon opening IntelliJ, click Create New Project. Now you will see a list of maven predefined archetypes.