Failing to run WOExamples from the 5.4 examples
Failing to run WOExamples from the 5.4 examples
- Subject: Failing to run WOExamples from the 5.4 examples
- From: Archibal Singleton <email@hidden>
- Date: Wed, 26 Dec 2007 16:51:23 -0300
Hi,
I've followed Pascal's instruction to setup the 5.4 examples for use
through eclipse. The examples compile without problems (except for
some minor errors). But when I try to run the WOExamples project it
immediately fails with the stack trace below.
What am I missing here? I don't understand why it's failing so any
help would be much appreciated.
[2007-12-26 19:32:33 ] <main> A fatal exception occurred: null
[2007-12-26 19:32:33 ] <main> java.lang.ExceptionInInitializerError
at
com
.webobjects
.appserver
._private.WOProperties.initUserDefaultsKeys(WOProperties.java:187)
at
com.webobjects.appserver.WOApplication._initWOApp(WOApplication.java:
5081)
at com.webobjects.appserver.WOApplication.<init>(WOApplication.java:
551)
at webobjectsexamples.woexamples.Application.<init>(Application.java:
45)
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:494)
at java.lang.Class.newInstance0(Class.java:350)
at java.lang.Class.newInstance(Class.java:303)
at com.webobjects.appserver.WOApplication.main(WOApplication.java:323)
at webobjectsexamples.woexamples.Application.main(Application.java:35)
Caused by: java.lang.IllegalStateException:
<com.webobjects.foundation.NSBundle> warning: There is already a
unique instance for Bundle named 'JavaFoundation'. Use
NSBundle.bundleForName(JavaFoundation) to access it:
<com.webobjects.foundation.NSBundle name:'JavaFoundation' bundlePath:'/
Library/WebObjects/lib/JavaFoundation.jar'
packages:'("com.webobjects.foundation",
"com.webobjects.foundation.xml")' 214 classes >
at
com.webobjects.foundation.NSBundle.CreateBundleWithPath(NSBundle.java:
825)
at
com
.webobjects
.foundation.NSBundle._bundleWithPathShouldCreateIsJar(NSBundle.java:487)
at
com
.webobjects.foundation.NSBundle.LoadBundlesFromClassPath(NSBundle.java:
742)
at com.webobjects.foundation.NSBundle.<clinit>(NSBundle.java:365)
... 12 more
TIA
= tmk =
_______________________________________________
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