After trying to reconstruct the error with a simple example I found the problem...Within the lib.jar is a configuration class which uses the commons-digester and the digester could not instanciate a bean because he uses the wrong class loader. Setting the class loader from the service it works.
Thanks a lot for your answer, it helps me to find the bug =) N. Deepal Jayasinghe-2 wrote: > > Nathan.S wrote: >> It seems that inner classes of a lib.jar in the service.aar cannot be >> loaded. >> I get a java.lang.ClassNotFoundException: mypackage.TestClass$InnerClass >> If I put the lib.jar not in the service.aar but in the axis2/WEB-INF/lib >> it >> works. >> >> Do I make a mistake or is something wrong with the axis2 class loading? >> > Hmm , can I have a look at the service aar file , may be you could > create a JIRA and attach the service aar file. > > Thanks > Deepal > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > -- View this message in context: http://www.nabble.com/-Axis2--inner-class-loading-of-a-lib.jar-tf4601559.html#a13153348 Sent from the Axis - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
