Hello,

I'm trying to get the Calculator webservice (from the WebObjects Web Services Programming Guide) to work using eclipse. As I don't have the actual sample code which it says is in projects/Calculator, and can't find it anywhere on the web, I'm trying to create it from the code shown in the document.

When I try to build and run the example, I'm getting the below run- time error. I'm guessing I need a framework that I don't currently have imported in my project, but have no idea which one or where I might find it. I do have all the JavaWebService... and javadirecttoweb and javadtwgeneration frameworks imported. Any ideas?

Thanks
Jeff

443 [main] WARN NSLog - A fatal exception occurred: com/webobjects/ _eoproject/_WBInterfaceDescriptor [2006-12-27 13:45:23 CST] <main> java.lang.NoClassDefFoundError: com/ webobjects/_eoproject/_WBInterfaceDescriptor
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Class.java:164)
at com.webobjects.foundation._NSUtilities._classWithPartialName (_NSUtilities.java:307) at com.webobjects.foundation._NSUtilities.classWithName (_NSUtilities.java:291) at com.webobjects.foundation.NSBundle.initPrincipalClass (NSBundle.java:2553) at com.webobjects.foundation.NSBundle.InitPrincipalClasses (NSBundle.java:710)
        at com.webobjects.foundation.NSBundle.<clinit>(NSBundle.java:368)
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:23)
        at er.extensions.ERXApplication.<init>(ERXApplication.java:172)
        at Application.<init>(Application.java:13)
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:120)
        at Application.main(Application.java:10)


 _______________________________________________
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