The Artima Developer Community
Sponsored Link

Legacy Design Forum
Designing with Exceptions

Advertisement

Advertisement

This page contains an archived post to the Design Forum (formerly called the Flexible Java Forum) made prior to February 25, 2002. If you wish to participate in discussions, please visit the new Artima Forums.

Message:

Problem encountered & solved

Posted by David Tonhofer on February 06, 2002 at 9:37 AM

Regarding

> Im working with servlets and JSP`s and sometimes I get this
> Error : "JSP Page threw a non-Exception Throwable" . What does
> it means ?

And

> This occurs sometimes when I'm using Visual Age for Java
> (IBM). After a while of searching I found that I received this
> exception (or throwable):

> java.lang.ClassFormatError: es/tid/buscaminas/Trace (Repeative
> method name/signature)

This indeed occurs if one uses the IBM VisualAge for Java
'source code display' a bit too often. Methods can get
duplicated. And then appear twice in the list of methods
exported from the .class file. The Java VM don't like it, man!
Solution is of course to go to 'Open Source View', then remove
the offending duplicate.

Here's how to check the methods exported by the .class:

javap -classpath $MY_CLASSPATH some.class.i.made





Replies:

Sponsored Links



Google
  Web Artima.com   
Copyright © 1996-2009 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use - Advertise with Us