Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
Re: Long class names cannot be recognized in a jar file?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Long class names cannot be recognized in a jar file?



On Thursday, May 31, 2001, at 12:17 , Canzhong Wu wrote:

[...]
crimson.jar). When unzipped from the console under OS
X, the class "ParserConfigurationException.class" is
right there, but Project Builder produces an error
"NoClassDefFoundError", and this was, and still is
what puzzles me.

This could be an example of one of Java's rare improper error messages. This error can occur when a class extends another class. The problem could very well be whatever class ParserConfigurationException extends is not being found.

Another way to trigger this is to reference unfound classes within the static block of a class or by instantiating objects directly when defining attributes (you know, having things like "Integer five = new Integer(5);" right after your "public class MyClass {").




Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.