4 Replies Latest reply: Sep 6, 2013 2:22 AM by Yaminip-Oracle RSS

    ClassNotFoundException for javax.jsf.model.SelectItem

    Yaminip-Oracle

      Hi,

       

      JDev Version : 11.1.1.7

      Scenario is that we have extended RegionController class to have product specific refresh, beforeDelegateRefreshRegion implementation wherein we are loading stored VOXML and populating screen VOs using readXML command.

      With previous versions this use case was working fine, but with this version, we are getting following exception in readXML on all our enviornments:

      Exception: java.lang.ClassNotFoundException: javax.faces.model.SelectItem. Following is the Stack Trace :-

      weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:297)

      weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:270)

      java.lang.ClassLoader.loadClass(ClassLoader.java:306)

      java.lang.ClassLoader.loadClass(ClassLoader.java:247)

      weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClassLoader.java:179)

      java.lang.Class.forName0(Native Method)

      java.lang.Class.forName(Class.java:247)

      java.io.ObjectInputStream.resolveClass(ObjectInputStream.java:603)

      java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1574)

      java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1495)

      java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1731)

      java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1328)

      java.io.ObjectInputStream.readObject(ObjectInputStream.java:350)

      java.util.ArrayList.readObject(ArrayList.java:593)

      sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)

      sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

      java.lang.reflect.Method.invoke(Method.java:597)

      java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:974)

      java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1848)

      java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1752)

      java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1328)

      java.io.ObjectInputStream.readObject(ObjectInputStream.java:350)

      oracle.jbo.domain.DefaultValueSerializer.getXMLContentValue(DefaultValueSerializer.java:124)

      oracle.jbo.server.AttributeDefImpl.getXMLContentValue(AttributeDefImpl.java:5039)

      oracle.jbo.server.ViewRowImpl.readAttributeFromXMLElement(ViewRowImpl.java:4703)

      oracle.jbo.server.ViewRowImpl.readAttrsFromXML(ViewRowImpl.java:4871)

      oracle.jbo.server.ViewRowImpl.updateRowFromXML(ViewRowImpl.java:5219)

      oracle.jbo.server.ViewObjectImpl.updateRowSetFromXML(ViewObjectImpl.java:18219)

      oracle.jbo.server.ViewObjectImpl.updateRowSetFromXML(ViewObjectImpl.java:18075)

      oracle.jbo.server.ViewObjectImpl.updateRowSetFromXML(ViewObjectImpl.java:18063)

      oracle.jbo.server.ViewObjectImpl.readXML(ViewObjectImpl.java:17979)

       

      Where exactly we should have jsf-1.2 reference, because if we put the reference in classpath this error doesn't come?

      However reference to jsf-1.2.war is there in our webapp.war.

       

      Is there any change in this version the way lib references aer handled?

       

      Thanks,

      Yamini.