问题:
IDEA启动Tomcat项目时,出现Error running ‘tomcat’: Can‘t find catalina.jar错误。
解决方法:
- 点击IDEA顶部导航栏的 Run ,弹出菜单里选择点击 Edit Configurations… ,
- 在打开的 Run/Debug Configurations 框里,点击 Application server 栏后边的 CONFIGURE… 。
- 在打开的 Application server 框里,把 Tomcat Home 和 Tomcat base directory 的路径改为一致即可。