On Wed, Jan 14, 2009 at 11:12 AM, Hundtofte, Rex A <[email protected]>wrote:

>  I am getting a NoClassDefFoundError when my Axis2 consumer code is
> executed inside of an Axis2 provided web service.  I have an aar file
> deployed to my web server, the consumer code and generated client stub
> classes are in separate jar files under the WEB-INF/lib directory.  The
> incoming request processes fine but apparently the classloader that needs to
> load the consumer Axis2 classes cannot find the Axis2 classes.  I appreciate
> any tips on how I might resolve this issue?
>
This should work. So first check whether your server has any cached old
instances of your web app. Secondly put your classes and lib files in the
.aar file.

i.e
.aar
   <class files>
   lib
      <lib files>

thanks,
Amila.

> Thanks,
> Rex Hundtofte
>



-- 
Amila Suriarachchi
WSO2 Inc.
blog: http://amilachinthaka.blogspot.com/

Reply via email to