![]() We can run our application with ^R (macOS), or Shift+F10 (Windows/Linux) and this starts our Tomcat server. You can open the Services window with ⌘8 (macOS), Alt+8 (Windows/Linux) to see the Tomcat server we just configured along with our web application. IntelliJ IDEA will now create our simple web application which will output “Hello, World!” when it receives a GET request. The Eclipse Jersey Server and Weld SE have been preselected for us because we selected REST service as the template in the previous step. Click Next to go to the next step in the tutorial and select Jakarta EE 9 from the Version drop-down. ![]() ![]() This is the name of your project by default. You can change this if required or leave it as the default com.example. This will also populate the Tomcat base directory. For the Tomcat Home, browse to the directory where you have Tomcat installed. We want to create a RESTful web application so leave the REST service template selected. Select this checkbox if you want to use Git to version control the files in this project. The name of your project, such as HelloWebApp. Select Java Enterprise on the left-hand menu and enter the following details: ![]() If you have an existing project open, click File > New.From the Welcome Screen select New Project.We're going to create a small web application that runs on Tomcat to demonstrate the integration in IntelliJ IDEA Ultimate:
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |