Can't start Tomcat 7 server from inside the IDE [message #710058] |
Thu, 04 August 2011 12:29  |
Eclipse User |
|
|
|
I'm using Eclipse - Indigo Release and Tomcat 7.0.19 with Windows installer.
And for two days I'm trying to launch the server from the IDE!!!!
I'm on a verge of crying!
The server works normally when started outside of the IDE, but when I try to start the server from the servers list, I get these errors.
java.lang.NoClassDefFoundError: org/apache/juli/logging/LogFactory
at org.apache.catalina.startup.Bootstrap.<clinit>(Bootstrap.java:60)
Caused by: java.lang.ClassNotFoundException: org.apache.juli.logging.LogFactory
at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at sun.misc.Launcher$ExtClassLoader.findClass(Launcher.java:229)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
... 1 more
Exception in thread "main"
And from the Java Virtual Machine pop up launcher , I get:
"Could not find the class : org.apache.catalina.startup.Bootstrap
Program will now exit"
Can someone help me with this?
|
|
|
|
|
Re: Can't start Tomcat 7 server from inside the IDE [message #710205 is a reply to message #710116] |
Thu, 04 August 2011 15:48   |
Eclipse User |
|
|
|
On 04-Aug-11 12:11, ivan wrote:
> I haven't changed anything regarding .jar files. Just properly added the
> server.
>
> I'm just trying to launch the server, irregardless of the project, it
> doesn't work.
I may have misunderstood then. Nevertheless, it appears to be missing
org.apache.juli.logging.LogFactory. When a ClassNotFoundException
happens to me, I look for a JAR that furnishes it, the best JAR if there
is more than one (somewhat rare), and add it to Build Path to see if
that fixes the problem. It usually does. Occasionally, I find out at a
late date a better way to obtain the symbol, but this usually works for me.
I looked this class up for you in my previous response. Obviously, I
don't know if it will help you or not as I'm not running your workbench.
Best of luck to you. There are more experts on such issues in the
Eclipse web tools forum.
|
|
|
|
Powered by
FUDForum. Page generated in 0.50395 seconds