We have a SOA composite with a spring component. Spring component / java class needs a third party jar which we packaged in SCA-INF/lib. Weblogic server also has same jar in server classpath but older version. When we deploy our composite and test the service, it throwing oracle.fabric.common.FabricInvocationException: weblogic.sca.api.ScaException: java.lang.NoSuchMethodError. The older jar which is in server class path doesn't have the method that our Spring / Java class looking for.,
I tried weblgoic-application.xml in SCA-INF/classes/META-INF folder with the following , but, no use.
<prefer-application-packages>
<package-name>org.joda.*</package-name>
</prefer-application-packages>
Is there any way we can force soa composite to use a library that is packaged in SCA-INF/lib?
Any help is appreciated.....