This discussion is archived
1 Reply Latest reply: Jan 16, 2013 9:35 PM by Kishore Rout RSS

ClassNotFoundException: oracle.xml.parser.v2.NSResolver at WebLogic Start

sujay Newbie
Currently Being Moderated

I am getting below exception at startup of application on weblogic 10.3.6,
Caused By: java.lang.ClassNotFoundException: oracle.xml.parser.v2.NSResolver
     at java.lang.ClassNotFoundException.<init>(
     at java.lang.ClassLoader.loadClass(
     at sun.misc.Launcher$AppClassLoader.loadClass(
     at java.lang.ClassLoader.loadClass(
     at java.lang.J9VMInternals.verifyImpl(Native Method)
     at java.lang.J9VMInternals.verify(
     at java.lang.J9VMInternals.initialize(
     at java.lang.J9VMInternals.newInstanceImpl(Native Method)
     at java.lang.Class.newInstance(
     at oracle.toplink.platform.xml.XMLPlatformFactory.getXMLPlatform(
The Exception is coming when WebLogic is trying to read the database connection for Toplink. Exception is throw when loadDocument(getClass().getClassLoader()); is called on toplink XMLSessionConfigLoader to configure toplink session.

I tried to put xmlparserv2.jar in Domain/lib directory, but that didnt work.

Any way to resolve this error?

- Sujay


  • Correct Answers - 10 points
  • Helpful Answers - 5 points