I found an article that explains using the ClassLoader loader =
getClass().getClassLoader();

Then load the class using that loader.

 

Problem is that I am using a large number of my own and Third Party jar
files. Do I need to 

Do that for every class? I just wanted to add my jars to my aar/lib dir
and be done with it.

 

 

 

  _____  

From: Kahler, Jason J (US SSA) 
Sent: Monday, October 15, 2007 7:13 AM
To: axis-user@ws.apache.org
Subject: RE: NoClassDefFoundErrors ins AXIS2 aar

 

Can you elaborate, I am not sure how to do this. Also others have
indicated what I am doing Should work fine.

 

Thanks;

 

  _____  

From: Chad DeBauch [mailto:[EMAIL PROTECTED] 
Sent: Saturday, October 13, 2007 5:03 PM
To: axis-user@ws.apache.org
Subject: Re: NoClassDefFoundErrors ins AXIS2 aar

 

The jars in your lib aar directory will be loaded in a separate
classloader.  So you must reference those classes using that
classloader.  You can do this by getting the MessageContext.

Chad

On 10/12/07, Kahler, Jason J (US SSA) <[EMAIL PROTECTED]>
wrote:

I am building my aar using the maven2 pluggin. Everything builds but
when I deploy I get NoClassDefFound 
ERRORS all over. This was working as a war in tomcat using axis 1. All
the required jars are in

 

myArr.arr/lib what could be wrong ?

 

Jay

 

Reply via email to