NoClassDefFoundError from a frameworks, fails on MacOSX succeeds on Windows
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.