idea error Can't find catalina.jar solution

foreword

Although most of them use the Spring framework directly now, its built-in tomcat can reduce a lot of configuration. But many of the projects we found on the Internet were projects that used tomcat before. And sometimes running on the local compiler can't find catalina.jar error. This error occurs, mostly due to configuration problems, especially the configuration of tomcat.

method

First check whether the Tomcat Home and base Directory of tomcat in File->Setting->Build, Execution, Deployment->Application Servers are configured correctly. It is best to click the folder next to it to find it. Secondly, check whether the JRE in the tomcat configuration in the upper right corner is correct
insert image description here
. correct. The JRE path needs to be consistent with the environment variable
insert image description here

insert image description here
If it has not been resolved, check whether the position has been checked in the startup/connection.
insert image description here
Finally, it should be ok. If other errors are reported, please solve it slowly!

Guess you like

Origin blog.csdn.net/weixin_43896829/article/details/115522619