Search code examples
springspring-mvctomcatintellij-idea

Application server libraries not found in IntelliJ


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?

Screenshot from IntelliJ Settings


Solution

  • IntelliJ IDEA 2019.3.x doesn't support Tomcat 10 yet.

    Use the supported Tomcat version (9).