tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ademar <ade...@oneonline.it>
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: http://www.nabble.com/ClassNotFoundException-in-tomcat-tf1876874.html#a5131336
Sent from the Tomcat - User forum at Nabble.com.


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message