• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
NoClassDefFoundError from a frameworks, fails on MacOSX succeeds on Windows
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NoClassDefFoundError from a frameworks, fails on MacOSX succeeds on Windows


  • Subject: NoClassDefFoundError from a frameworks, fails on MacOSX succeeds on Windows
  • From: Baiss Eric Magnusson <email@hidden>
  • Date: Thu, 20 May 2004 09:50:56 -0700

Running under MacOSX 10.3.3, WO 5.2.3, JVM 1.4.2

My WO application has a frameworks <HessTech>, it includes a frameworks <PXStringUtilities>.

In the main WO app, in a WOComponent <ViewPage>, is the declaration: (it resolves at compile time the reference <InventoryItem> thru the frameworks)

    protected InventoryItem invItem;

<InventoryItem> is a EOGenericRecord sub-classed twice, it has a method:

    public boolean hasPicture() {
        return PXStringUtilities.exists(  picturePath() );
    }

In the <ViewPage.wo> file is a binding to:

	<invItem.hasPicture>

When the page is attempted to be rendered the error is thrown:

com.webobjects.foundation.NSForwardException [java.lang.NoClassDefFoundError] com/pragmatyxs/utilities/PXStringUtilities
at InventoryItem.hasPicture(InventoryItem)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor Impl)
at java.lang.reflect.Method.invoke(Method)
at KeyValueCodingProtectedAccessor.methodValue(KeyValueCodingProtectedAcces sor)
...
The problem doesn't arise running under Windows WO 5.2.3 PB development.
----
Baiss Eric Magnusson
<http://www.CascadeWebDesign.com>



---- Baiss Eric Magnusson <http://www.Track-Your-Finances.com> <http://www.CascadeWebDesign.com> _______________________________________________ webobjects-dev mailing list | email@hidden Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev Do not post admin requests to the list. They will be ignored.


  • Follow-Ups:
    • Re: NoClassDefFoundError from a frameworks, fails on MacOSX succeeds on Windows
      • From: Chuck Hill <email@hidden>
  • Prev by Date: Re: Encrypting Credit Card Numbers - Two Way Encryption
  • Next by Date: Re: Encrypting Credit Card Numbers - Two Way Encryption
  • Previous by thread: Re: Xcode 1.2 generates incorrect web.xml.template
  • Next by thread: Re: NoClassDefFoundError from a frameworks, fails on MacOSX succeeds on Windows
  • Index(es):
    • Date
    • Thread