deploying war on weblogic 12.2 without Jersey -
i have war application wrapped in ear deployment in weblogic.
not using jersey @ in code, unless 3rd-party jar somehow refers without knowledge, , have metadata-complete="true" attribute in web.xml.
the application deploys fine on weblogic 12.1, on weblogic 12.2 there error message:
<2-jun-2016 9:48:42 o'clock idt> <error> <j2ee> <bea-160228> <appmerge failed merge application. ifils. see error message(s) below.> weblogic.utils.compiler.toolfailureexception: com.sun.jersey.server.impl.inject.abstracthttpcontextinjectable @ weblogic.application.compiler.flowdriver.handlestatechangeexception(flowdriver.java:55) @ weblogic.application.compiler.flowdriver.nextstate(flowdriver.java:38) @ weblogic.application.compiler.appmerge.runbody(appmerge.java:146) @ weblogic.utils.compiler.tool.run(tool.java:159) @ weblogic.utils.compiler.tool.run(tool.java:116) @ weblogic.application.compiler.appmerge.merge(appmerge.java:158) ... caused by: java.lang.classnotfoundexception: com.sun.jersey.server.impl.inject.abstracthttpcontextinjectable @ weblogic.utils.classloaders.genericclassloader.findlocalclass(genericclassloader.java:981)
i tried adding shared library reference war jax-rs deployable library in weblogic, doesn't help.
idea how solve this? can disable jersey scanning, or scanning? can turn on logging in weblogic find out class or jar in application refer jersey?
are using weblogic 12.2.x ? if yes, expected error. since weblogic removed jersey 1.x server api. , supports jersey 1.x client api. think may use jersey 2.x instead.