tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shapira, Yoav" <>
Subject RE: Problem with ClassFormatError
Date Tue, 18 Feb 2003 19:48:00 GMT

I thought there were known bugs to this effect in Sun's 1.3.0 and 1.4.0
JDK (slightly different bugs).  Try using JDK 1.3.1 or better yet 1.4.1,
as I've heard a lot of stuff recently about reflection in 1.3.x being
very buggy.

Yoav Shapira
Millennium ChemInformatics

>-----Original Message-----
>From: Bryant, William []
>Sent: Tuesday, February 18, 2003 2:44 PM
>To: Tomcat Users List
>Subject: Problem with ClassFormatError
>Hi all,
>After some hair pulling I figured I'd better just email the list with
>I have a class that contains an array of Objects and another array of
>Classes.  This class then uses java.lang.reflect to work its magic in
>calling various methods on the objects in the array.  The code compiles
>perfectly fine, but when I try to load this class at runtime, the class
>loader throws a ClassFormatError saying "Illegal Class name
>The weird thing is that others in the development team run this same
>without any problems.  I did some research into this but came up with
>answers, my guess is that it has something to do with the fact that the
>class uses reflection, but I can't be sure.
>I'm hoping that I am overlooking the obvious here, ANY help is greatly
>For whatever help they might be, I am attaching the exception text, the
>results of running 'javap' on the offending class and my server.xml
>My setup
>JDK: 1.3.0_02
>Tomcat: 4.0.3
>Platform: Windows 2000

This e-mail, including any attachments, is a confidential business communication, and may
contain information that is confidential, proprietary and/or privileged.  This e-mail is intended
only for the individual(s) to whom it is addressed, and may not be saved, copied, printed,
disclosed or used by anyone else.  If you are not the(an) intended recipient, please immediately
delete this e-mail from your computer system and notify the sender.  Thank you.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message