Hi!It appears that you are including the same frameworks twice in the classpath (namely, JavaFoundation). Please check on the project properties the classpath stuff (I'm sure Pascal says how to do that in the podcast!) ;)
Yours Miguel Arroz On 2007/12/26, at 19:51, Archibal Singleton wrote:
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.ExceptionInInitializerErrorat 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 protected]) Help/Unsubscribe/Update your Subscription:http://lists.apple.com/mailman/options/webobjects-dev/arroz% 40guiamac.comThis email sent to [EMAIL PROTECTED]
Miguel Arroz http://www.terminalapp.net http://www.ipragma.com
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ 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]
