You seem to be using old version of Wonder. If you are working with Wonder in your Workspace, why not download the latest source. Use the procedure outlined here:

http://wiki.objectstyle.org/confluence/display/WONDER/Download+Wonder+Source%2C+Build+and+Install

and

http://wiki.objectstyle.org/confluence/display/WONDER/Working+with+Wonder+source+in+Eclipse

On Dec 15, 2008, at 7:51 PM, Ren, Kevin wrote:

Hi,

Eclipse3.4+Wolips3.4.5588 nightlybuild

I installed WONDER framework to /Library/Frameworks, then I can create new WO app or Wonder App.

I copied all examples source from Wonder/Examples to my eclipse workspace, and then import to Eclipse.

All good, not red cross stick in the project. I found all libraries under "Referenced Libraries", looks all good.

But when I try run the application "AjaxExample" , I got message:

[2008-12-16 12:40:57 GMT+12:00] <main> Initialized : er.extensions.ERXExtensions
[2008-12-16 12:41:0 GMT+12:00] <main> A fatal exception occurred: null
[2008-12-16 12:41:0 GMT+12:00] <main> java.lang.ExceptionInInitializerError at com .webobjects .appserver .WOResourceManager .__getJavaWebObjectsResourceAsStream(WOResourceManager.java:116) at com .webobjects .appserver ._private.WOProperties.initUserDefaultsKeys(WOProperties.java:317) at com.webobjects.appserver.WOApplication._initWOApp(WOApplication.java: 5743) at com.webobjects.appserver.WOApplication.<init>(WOApplication.java:779) at er .extensions .appserver.ajax.ERXAjaxApplication.<init>(ERXAjaxApplication.java:22) at er.extensions.appserver.ERXApplication.<init>(ERXApplication.java:804)
        at Application.<init>(Application.java:19)
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:547) at er.extensions.appserver.ERXApplication.main(ERXApplication.java:592)
        at Application.main(Application.java:15)
Caused by: java.lang.IllegalStateException: Main bundle 'Properties' file can't be read. Did you run as a Java Application instead of a WOApplication in WOLips?

Please post your deployment configuration in the Wonder mailing list.
at er.extensions.appserver.ERXApplication $Loader.bundleDidLoad(ERXApplication.java:505)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun .reflect .NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun .reflect .DelegatingMethodAccessorImpl .invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
at com .webobjects.foundation.NSSelector._safeInvokeMethod(NSSelector.java: 122) at com.webobjects.foundation.NSNotificationCenter $_Entry.invokeMethod(NSNotificationCenter.java:588) at com .webobjects .foundation .NSNotificationCenter.postNotification(NSNotificationCenter.java:532) at com .webobjects .foundation .NSNotificationCenter.postNotification(NSNotificationCenter.java:562) at com.webobjects.foundation.NSBundle.postNotification(NSBundle.java: 1819) at com .webobjects .foundation.NSBundle.LoadBundlesFromClassPath(NSBundle.java:490) at com.webobjects.foundation.NSBundle.<clinit>(NSBundle.java: 2109)
        ... 16 more

Any idea, which lib I need import to the project? The same message for all other examples source.

thanks


kevin


"This communication is confidential and may contain privileged and/ or copyright material. If you are not the intended recipient you must not use, disclose, copy or retain it. If you have received it in error please immediately notify me by return email, delete the emails and destroy any hard copies. ANZ National Bank Limited does not guarantee the integrity of this communication, or that it is free from errors, viruses or interference."

_______________________________________________
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/kieran_lists%40mac.com

This email sent to [email protected]

 _______________________________________________
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]

Reply via email to