Application server libraries not found in IntelliJ

Viewed 7648

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

3 Answers

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.

you have to point it to $Path/tomcat@9/9.0.45/libexec

Related