Re: NoClassDefFoundError from a frameworks, fails on MacOSX succeeds on Windows
Re: NoClassDefFoundError from a frameworks, fails on MacOSX succeeds on Windows
- Subject: Re: NoClassDefFoundError from a frameworks, fails on MacOSX succeeds on Windows
- From: Chuck Hill <email@hidden>
- Date: Thu, 20 May 2004 16:32:41 -0700
Check the MacOSClassPath.txt file in .woa/Contents/MacOS. Is the
framework where this file says it is? Is the path correct? Check the
case carefully, Windows is not case sensitive, unlike UNIX.
Chuck
On May 20, 2004, at 9:50 AM, Baiss Eric Magnusson wrote:
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(DelegatingMethodAccesso
rImpl)
at java.lang.reflect.Method.invoke(Method)
at
KeyValueCodingProtectedAccessor.methodValue(KeyValueCodingProtectedAcce
ssor)
...
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.
_______________________________________________
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.