I would guess that you have a bad install of WebObjects. Drop down to a DOS window and type set. In addition to everything else, you should also have values for these:

NEXT_ROOT=U:/Apple
NEXT_SYSTEM_ROOT=U:/Apple
WEBOBJECTS_JAVA_EXTENSIONS=U:\Sun\j2sdk1.4.2_05/JRE/lib/ext
WEBOBJECTS_JAVA_HOME=U:\Sun\j2sdk1.4.2_05

On Feb 16, 2006, at 11:41 PM, Anupam Gupta wrote:

Hi,

I am a newbie to WebObjects on Eclipse 3.1.1 / 5.2.4 on Windows platform.

When I am developing my project, it compiles completely, but when I run it, it gives with the following error. Seems like a runtime error. I am using practical utilities class. Can someone help me. thanks


[2006-02-16 23:37:21 PST] <main> A fatal exception occurred: com/ webobjects/foundation/NSSet

[2006-02-16 23:37:21 PST] <main> java.lang.NoClassDefFoundError: com/webobjects/foundation/NSSet


That means that at runtime the c:\Apple\Library\Frameworks \JavaFoundation\Resources\Java\javafoundation.jar file is on the generated classpath.

Chuck


at com.apress.practicalwo.practicalutilities.EOFValidation.<clinit> (EOFValidation.java:219)

at Application.<init>(Application.java:32)

at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

at sun.reflect.NativeConstructorAccessorImpl.newInstance (NativeConstructorAccessorImpl.java:39)

at sun.reflect.DelegatingConstructorAccessorImpl.newInstance (DelegatingConstructorAccessorImpl.java:27)

at java.lang.reflect.Constructor.newInstance(Constructor.java:274)

at java.lang.Class.newInstance0(Class.java:308)

at java.lang.Class.newInstance(Class.java:261)

at com.webobjects.appserver.WOApplication.main(WOApplication.java:323)

at Application.main(Application.java:11)

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/chill% 40global-village.net

This email sent to [EMAIL PROTECTED]

--
Coming in 2006 - an introduction to web applications using WebObjects and Xcode http://www.global-village.net/wointro

Practical WebObjects - for developers who want to increase their overall knowledge of WebObjects or who are trying to solve specific problems. http://www.global-village.net/products/practical_webobjects




_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to