aspose file tools*
The moose likes Tomcat and the fly likes tomcat error Exception in thread Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "tomcat error Exception in thread "main" java.lang.NoClassDefFoundError: Files\apache" Watch "tomcat error Exception in thread "main" java.lang.NoClassDefFoundError: Files\apache" New topic
Author

tomcat error Exception in thread "main" java.lang.NoClassDefFoundError: Files\apache

ankittt agarwala
Ranch Hand

Joined: Jan 19, 2011
Posts: 42
hello
D:\Program Files\tomcat\apache-tomcat-6.0.28\bin>startup.bat
Using CATALINA_BASE: D:\Program Files\apache\
Using CATALINA_HOME: D:\Program Files\apache\
Using CATALINA_TMPDIR: D:\Program Files\apache\\temp
Using JRE_HOME: D:\Program Files\Java\jre1.5.0_08
Using CLASSPATH: D:\Program Files\apache\\bin\bootstrap.jar
Exception in thread "main" java.lang.NoClassDefFoundError: Files\apache"

after above when browser is pointed to http://localhost:8080/ then "cannot connect to localhost is displayed"
suggest
leo donahue
Ranch Hand

Joined: Apr 17, 2003
Posts: 327
You are persistent.

Aside from the language barrier, would it be possible for you to post something besides the information you've posted 3 or 4 times already?

Something that might help us help you is:

0. Uninstall Tomcat 6.0.28.
1. Download a clean Tomcat 6.0.29, preferably the zip version, and don't edit anything in the startup.bat, or anywhere else.
2. Assuming you are running windows, double click the startup.bat file.

What happens now?


Thanks, leo
ankittt agarwala
Ranch Hand

Joined: Jan 19, 2011
Posts: 42
so installing tomcat 6.0.30 worked finally thanks to
lio for the final suggestion
and others to(blame)credit who suggested on my previous postss
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: tomcat error Exception in thread "main" java.lang.NoClassDefFoundError: Files\apache