NoClassDefFoundError

I got this error message when deploying a JSP:

java.lang.NoClassDefFoundError: org/apache/soap/rpc/RPCMessage

This error points to the line "gs=new GoogleSearch();" where GoogleSearch is a defined class. I tested it on my local computer and it worked well.

Do you have any idea what type of exception is this ? Thank you.

[346 byte] By [ntsona] at [2007-10-2 23:55:48]
# 1

You have a classpath problem. Make sure that the jar file that has the class your application cannot find is in the WEB-INF/lib directory of your web app. Maybe it is working on your local machine because you might have that jar file already included in your system environment classpath.

Gabsaga

gtataa at 2007-7-14 16:42:16 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...