tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joseph <wutong...@gmail.com>
Subject Re: Issue starting catalina.sh on Windows for tomcat 7 version
Date Tue, 28 Aug 2012 08:06:32 GMT
Make script to print sys pros before final call to java exe,compare printed info with previous
working one,probably issue with java lib path,class path etc., which makes classloader not
able to load ,just a guess,hope it helps

在 2012-8-28,15:18,irfan pasha <irfan17sat@gmail.com> 写道:

> Hi,
> 
> I have recently installed tomcat7 version and tried to start
> catalina.sh from my bash on my windows machine after setting the JAVA
> path.
> 
> I get the following error when i start in my console
> 
> Exception in thread "main" java.lang.NoClassDefFoundError:
> org/apache/catalina/s
> tartup/Bootstrap
> Caused by: java.lang.ClassNotFoundException:
> org.apache.catalina.startup.Bootstr
> ap
> 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 java.lang.ClassLoader.loadClass(ClassLoader.java:307)
> at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
> Could not find the main class: org.apache.catalina.startup.Bootstrap. Program w
> ill exit.
> 
> It was working fine for earlier versions of tomcat.
> 
> Any help is appreciated.
> 
> -- 
> irfan..........................
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message