This content has been marked as final. Show 4 replies
The typical first thing to try for something like this is to add a "prefer-web-inf-classes" element to your weblogic.xml file. See [http://docs.oracle.com/cd/E24329_01/web.1211/e21049/weblogic_xml.htm#WBAPP659] for more information.
David its already there...
but when i removed <prefer-web-inf-classes> element from web logic and added <prefer-application-packages> it worked fine..just want to know if there is any problem in 12c with <prefer-web-inf-classes> tag.
Can you copy error stack here to get more clue.
You should use prefer-application-packages when there is any conflict of classes specifically when the same class is being loaded by weblogic server.
When your using prefer-application-packages you should always set prefer-web-inf-classes to false.
This is documented please check following docs.