[jboss-user] [Beginners Corner] - JBoss 4.2.2 JSF RI - java.lang.ClassNotFoundException: bool

javatwo do-not-reply at jboss.com
Thu Jan 17 10:10:34 EST 2008


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) 


View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4120931#4120931

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4120931



More information about the jboss-user mailing list