...
Modify the
webapp-classloading-environments.xml
file with the following entries.Code Block language html/xml <ExclusiveEnvironments> <ExclusiveEnvironment> <Name>Spring</Name> <Classpath>${carbon.home}/lib/runtimes/spring/*.jar;${carbon.home}/lib/runtimes/spring/</Classpath> </ExclusiveEnvironment> </ExclusiveEnvironments>
- Next, create and copy of the related Spring dependencies in the
<PRODUCT_HOME>/lib/runtimes/spring
directory. Add the following entries to the
webapp-classloading.xml
file of each web application, to use them in the Spring runtime environment defined above.Code Block language html/xml <Classloading xmlns="http://wso2.org/projects/as/classloading"> <Environments>CXF<Environments>Spring,Carbon</Environments> </Classloading>
...