Error running Tomcat 7.0.34: Can't find catalina.jar
Asked Answered
P

7

6

I have a Java web application that I have been working on 6 months ago and when I last worked on it, it would run perfectly. When I ran it again 6 months later I got this error "Can't find catalina.jar". I'm using IntelliJ 13.0 and tomcat 7.0.34. Can anybody help me with this problem?

Phantasm answered 3/6, 2014 at 12:43 Comment(1)
Can you start tomcat using the provided scripts without using IntelliJ?Displayed
D
9

I had the same problem and solved it like this:

The method is to chose right Tomcat Home and Tomcat base directory in the wizard Run/Debug Configuration -> Server -> Configure...

Devolution answered 23/12, 2016 at 12:53 Comment(0)
H
3

Catalina.jar should already be present in tomcat/lib directory.

Is your tomcat home set up correctly, and is the jar there.

Hogtie answered 3/6, 2014 at 12:48 Comment(0)
F
1

Also ensure that the user trying to access the lib directory and Catalina.jar etc.. has access to do so (Unix).

Faxan answered 27/5, 2016 at 9:14 Comment(0)
D
0

This problem may have occurred because Tomcat was loaded into the Program Files directory. Intellij IDEA cannot read files from Tomcat/lib inside program files. It can be decide: to run the IDEA with administrator rights or download Tomcat to another directory.

Derision answered 17/9, 2022 at 7:35 Comment(1)
As it’s currently written, your answer is unclear. Please edit to add additional details that will help others understand how this addresses the question asked. You can find more information on how to write good answers in the help center.Carnatic
F
0

Reconfigure the Tomcat server in your Intelij IDE then configure it in the project that you want to run on it.

Fibula answered 18/10 at 20:1 Comment(0)
T
-1

I have already fixed this problem,you need to correct the Tomcat Home's path.

My problem is that I renamed the file of apache-tomcat-8.5.9 to Tomcat,then the Idea could not distinguish the version.

Trachyte answered 12/1, 2017 at 10:51 Comment(0)
T
-1

in the tomcat home you have to specify the right directory and you should add a backslash to the end of the[enter image description here][1] path; C:\Program Files\Apache Software Foundation\Tomcat 10.1.

Tittletattle answered 6/9 at 0:19 Comment(2)
Your answer does not contain the link to the image.Coparcenary
Your answer could be improved with additional supporting information. Please edit to add further details, such as citations or documentation, so that others can confirm that your answer is correct. You can find more information on how to write good answers in the help center.Carnatic

© 2022 - 2024 — McMap. All rights reserved.