tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ademar <>
Subject ClassNotFoundException in tomcat
Date Sat, 01 Jul 2006 10:39:55 GMT

Hi, Why in tomcat this code launch a ClassNotFoundException ?
     byte[] serialized= rs.getBytes("test");

   ObjectInputStream in = new ObjectInputStream( new ByteArrayInputStream(
serialized ) );

             testbean = (TestBean) in.readObject();
The bold line launch the exception and the class is TestBean. The same code
in a application standard work well.
I develop with NetBeans 5.0,JDK 1.5 update 7, MySql 5.0 using JDBC.
S.O =Windows XP,Server Tomcat last version. 
View this message in context:
Sent from the Tomcat - User forum at

To start a new topic, e-mail:
To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message