Re: WPO Cannot run book examples anymore w 5.2.4/Tiger
Re: WPO Cannot run book examples anymore w 5.2.4/Tiger
- Subject: Re: WPO Cannot run book examples anymore w 5.2.4/Tiger
- From: kadoudal <email@hidden>
- Date: Sun, 8 May 2005 22:57:27 +0200
Got it..
I realize that added framework paths are 'relative to project' by
default , not absolute... with XCode 2.0
I had to check it for all added frameworks....
it's running well now...
thanks
Le 8 mai 05 à 18:12, Chuck Hill a écrit :
Both the errors you posted make it appear that
JavaFoundation.framework is missing from the runtime classpath. If
it is listed under Frameworks, remove it. Then add it to
frameworks, build and run.
Chuck
On May 8, 2005, at 12:32 AM, kadoudal wrote:
To check 5.2.4 validity, I tried to compile/run again my WPO book
examples,
got error on first try : chap3.... what could have changed in
between.... ?
[2005-05-08 09:27:57 CEST] <main> Application project found: Will
locate resources in '' rather than '/Users/erwin/WEB_OBJECTS/
WO_Books/WO_PWO_XCoded/PracticalWebObjects/CH3/Chap3App/build/
Chap3App.woa' .
[2005-05-08 09:28:07 CEST] <main> java.lang.NoClassDefFoundError:
com/webobjects/foundation/NSSelector
at
com.apress.practicalwo.practicalutilities.EOPrototypeSwitcher.listenF
orAddedModels(EOPrototypeSwitcher.java:62)
at PWOApplication.<init>(PWOApplication.java:25)
at Application.<init>(Application.java:29)
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:21)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke
(NativeMethodAccessorImpl.java:39)
at sun.re[2005-05-08 09:28:04 CEST] <main> *** The application
has found the following opened, development-mode Xcode projects:
(<com.webobjects.appserver._private.WOProjectBundle:
projectName='Chap3App'; bundlePath='/Users/erwin/WEB_OBJECTS/
WO_Books/WO_PWO_XCoded/PracticalWebObjects/CH3/Chap3App/build/
Chap3App.woa'; projectPath=''>)
[2005-05-08 09:28:07 CEST] <main> Creating LifebeatThread now
with: Chap3App 50439 kermac.local/127.0.0.1 1085 30000
[2005-05-08 09:28:07 CEST] <main> A fatal exception occurred: com/
webobjects/foundation/NSSelector
flect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.webobjects._bootstrap.WOBootstrap.main(WOBootstrap.java:
71)
_______________________________________________
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
--
Practical WebObjects - a book for intermediate WebObjects
developers who want to increase their overall knowledge of
WebObjects, or those who are trying to solve specific application
development 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