aspose file tools
The moose likes Java in General and the fly likes java.lang.NoClassDefFoundError Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » Java in General
Reply Bookmark "java.lang.NoClassDefFoundError" Watch "java.lang.NoClassDefFoundError" New topic
Author

java.lang.NoClassDefFoundError

Nila dhan
Ranch Hand

Joined: Sep 15, 2005
Posts: 160
Hi,
I am using Collections and Comparator class for sorting of values. This is working fine in the local development environment.
When I deploy it to the Unix Test environment, it is throwing a java.lang.NoClassDefFoundError exception.
Any pointers is deeply appreciated.

Thanks in Advance.
Christophe Verré
Sheriff

Joined: Nov 24, 2005
Posts: 14670
    
  11

This is a CLASSPATH problem. Please show the full exception stack trace.


[My Blog]
All roads lead to JavaRanch
Martin Vanyavchich
Ranch Hand

Joined: Sep 16, 2008
Posts: 241
In your local enviroment you're using some libraries, that are not provided in your test enviroment. ClassNotFoundException usualy states witch classes it cannot find. If the missing classes are present in your test enviroment, check your classpath.


SCJP 6, OCMJD 6, OCPJWSD 6
I no good English.
 
I agree. Here's the link: jrebel
 
subject: java.lang.NoClassDefFoundError
 
Similar Threads
Problems with WTE 4.0 with WSAD 5.0 on XP
problems with deploytool startup
NoClassDefFoundError
HTTP status 500, can not find TagSupport
NoClassDefFoundError in WSAD 5.0