I am learning Spring MVC and trying to connect IntelliJ IDEA to Tomcat Server. So far I have downloaded the Tomcat 10 tar.gz
package from the Tomcat website, extracted and put it at the following location: /Users/roxhens/Tomcat10
.
Then, I create a new Spring MVC project and go to:
Add Configuration... > Click + > Tomcat Server > Local and then click Configure and provide the path above.
When I click OK, the following error in the picture shows up: Cannot Save Settings. Where can I find these Application server libraries?
To run the configuration, press Alt+Shift+F10 and select the created application server configuration. or press Shift+F10 to run it. You can also use the Services tool window to list and manage all available application server running configurations.
IntelliJ IDEA provides integration with various application servers, enabling you to start and stop local servers, connect to running remote servers, and deploy your artifacts on those servers. You can also debug your application right from the IDE.
Go to Run > Edit Configurations. Select + > JBoss Server > Local. Name the configuration (for example "WF15") Press Configure and browse to the installation path of WildFly.
IntelliJ IDEA 2019.3.x doesn't support Tomcat 10 yet.
Use the supported Tomcat version (9).
If you are on Windows and you installed Tomcat on the primary hard drive of your System, you need to run IntelliJ IDEA as Administrator to be able to add the Tomcat server.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With