Re: Classpath .... what is the new process?

From: Stefan Klein (stefan.klei..uero-sde.de)
Date: Mon Nov 19 2007 - 08:50:04 EST

  • Next message: Ulrich Köster: "Re: Classpath .... what is the new process?"

    Add the workspace framework in:

    Project Properties -> Java Build Path -> Projects

    and sort it in

    Project Properties -> Java Build Path -> Order and Export

    before the Webobjects Frameworks Container.

    Stefan

    Kieran Kelleher schrieb:
    > OK, just upgraded to latest WOLips .... now getting the
    > following..... What is the "new" way to have a framework added to the
    > project so that I am using the workspace version and so that the
    > /Library/Frameworks version is used in deployment later?
    >
    > [2007-11-19 08:04:10 EST] <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 er.extensions.ERXAjaxApplication.<init>(ERXAjaxApplication.java:24)
    > at er.extensions.ERXApplication.<init>(ERXApplication.java:522)
    > at wk.cheetah.Application.<init>(Application.java:98)
    > 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 er.extensions.ERXApplication.main(ERXApplication.java:362)
    > at wk.cheetah.Application.main(Application.java:83)
    > Caused by: java.lang.IllegalStateException:
    > <com.webobjects.foundation.NSBundle> warning: There is already a
    > unique instance for Bundle named 'ERJars'. Use
    > NSBundle.bundleForName(ERJars) to access it:
    > <com.webobjects.foundation.NSBundle name:'ERJars'
    > bundlePath:'/Users/kieran/WonderFor33x/Wonder/Common/Frameworks/ERJars/build/ERJars.framework'
    > packages:'()' 0 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)
    > ... 15 more



    This archive was generated by hypermail 2.0.0 : Mon Nov 19 2007 - 08:51:37 EST