• 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
Re: NSSet error
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSSet error


  • Subject: Re: NSSet error
  • From: Chuck Hill <email@hidden>
  • Date: Thu, 16 Feb 2006 21:50:41 -0800

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@hidden)
Help/Unsubscribe/Update your Subscription:
40global-village.net


This email sent to email@hidden

--
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@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
  • Follow-Ups:
    • Re: NSSet error
      • From: "Anupam Gupta" <email@hidden>
References: 
 >NSSet error (From: "Anupam Gupta" <email@hidden>)

  • Prev by Date: Re: wowebservice sessions
  • Next by Date: Re: Custom Class Problems
  • Previous by thread: NSSet error
  • Next by thread: Re: NSSet error
  • Index(es):
    • Date
    • Thread