I'm using Spring with Axis2 and have bumped into the problem with the
spring jars being in the WEB-INF/lib folder instead of inside the
.aar/lib when trying to deploy multiple services.  I've tried to make
the recommended adjustment but I am still getting an error message.

My web service was working properly until I switched the location of
the spring jars.

Roughly, here is the relevant folder layout I have within axis2,
including the structure of the .aar

\WEB-INF\applicationContext.xml
\WEB-INF\services
\WEB-INF\MyService.aar
\WEB-INF\MyService.aar\META-INF
\WEB-INF\MyService.aar\META-INF\MyService.wsdl
\WEB-INF\MyService.aar\META-INF\MANIFEST.MF
\WEB-INF\MyService.aar\META-INF\services.xml
\WEB-INF\MyService.aar\lib
\WEB-INF\MyService.aar\lib\axis2-spring-1.3.jar
\WEB-INF\MyService.aar\lib\spring-beans.jar
\WEB-INF\MyService.aar\lib\spring-context.jar
\WEB-INF\MyService.aar\lib\spring-core.jar


Because of the intended production environment, the
applicationContext.xml file is outside of the .aar.  This has not
caused any problems before.

The error I am receiving is: "The MyService.aar service, which is not
valid, caused java.lang.NoClassDefFoundError:
org/spring/framework/beans/factory/ListableBeanFactory."

This strikes me as a classpath error, but I can't find information on
additional configuration that is needed to run Spring inside an .aar.

Thank you.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to