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?



> My XML program produced such an error when I tried to
> parse an XML file with Sun's XML package.
>
> Exception occurred during event dispatching:
> java.lang.NoClassDefFoundError:
> javax/xml/parsers/ParserConfigurationException
>
> I was successful in getting Project Builder to compile
> my source code, but failed to get it running. Then I
> tested my program on the Windows platform, and it
> worked without any problem.
>
> So the problem seems to be: long class names (e.g.,
> ParserConfigurationException.class) cannot be
> recognized by Project Builder, because other files
> worked just fine.
>
> Regards,
>
> can


I experienced this same problem using Stuffit Exander to unzip an archive
under OS X on an HFS+ partition. The solution was to unzip it from a
console. The file names were not truncated that way.

Cheers,
Michael




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.