0 Replies Latest reply on Jan 17, 2008 10:10 AM by Dave Chen

    JBoss 4.2.2 JSF RI -  java.lang.ClassNotFoundException: bool

    Dave Chen Master

      I am using <t:saveState>, and set com.sun.faces.serializeServerState to true in web.xml.

      <context-param>
      <param-name>javax.faces.STATE_SAVING_METHOD</param-name>
      <param-value>server</param-value>
      </context-param>


      <context-param>
      <param-name>com.sun.faces.serializeServerState</param-name>
      <param-value>true</param-value>
      </context-param>

      I got the following exception.

      java.lang.ClassNotFoundException: boolean
      at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1358)
      at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1204)
      at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
      at java.lang.Class.forName0(Native Method)
      at java.lang.Class.forName(Class.java:242)
      at com.sun.faces.renderkit.ApplicationObjectInputStream.resolveClass(ApplicationObjectInputStream.java:74)
      at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1544)
      at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1466)
      at java.io.ObjectInputStream.readClass(ObjectInputStream.java:1433)
      at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1288)
      at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1908)
      at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1832)
      at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1719)
      at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1305)
      at java.io.ObjectInputStream.readObject(ObjectInputStream.java:348)
      at java.util.ArrayList.readObject(ArrayList.java:591)