I'm porting over a webservices application that runs well in Xcode but is not launching in Eclipse.
After reading up on the list, it seems there's a confluence of problems, I read:
* Get the latest webobjects from iPhone SDK (or there are no difference in WO in the iPhone release, so don't bother) * There are problems in *all* releases of WO (or there are only trivial problems) * The path settings are not the same in Eclipse and Xcode made more assumptions.
I'm more than a bit confused, but think I have a problem with the path settings and much of this is newbie-inflicted.
A few questions that will likely help:
-- In setting up Eclipse, what are the recommended paths to keep things organized and simple. Do you still use /Library/webObjects/Extensions/
-- Newbie question: where do you set the paths in Eclipse?
-- Where do you check version numbers for WO, Java, Eclipse? I can see in the Eclipse updater I have Eclipse 3.3.3r33 with 3.3.2 RCP Patch, and 3.3.5047 WOLips I'm checking /System/Library/Frameworks/JavaWebObjects.framework/Resources/version.plist to see version 5.4 I'm using /Applications/Utilities/Java/Java Preferences to see J2SE 5.0, but I'm betting there's more specific info elsewhere
Basically, what is the lists' advice on framework/jar organization and paths for Eclipse if you're building WO apps (including Services) using Eclipse.
This is what I'm getting right now (in case I'm misdiagnosing the problem).
Regards,
Drew
Welcome to sageservice ! WOWebServiceRegistrar.createServiceString() <?xml version="1.0" encoding="UTF-8"?> <parameter name="handlerClass" value="org.apache.axis.providers.java.RPCProvider"/> <parameter name="scope" value="Application" /> <parameter name="className" value="com.decile.sageservice.models.Model20" /> <parameter name="allowedMethods" value="*" /> </service> [2008-6-14 13:2:22 EDT] <main> A fatal exception occurred: com/webobjects/webservices/support/WOXMLProvider [2008-6-14 13:2:22 EDT] <main> java.lang.NoClassDefFoundError: com/webobjects/webservices/support/WOXMLProvider at com.webobjects.appserver._private.WOWebService.initServer(WOWebService.java:134) at com.webobjects.appserver._private.WOWebService.registerService(WOWebService.java:166) at com.webobjects.appserver.WOWebServiceRegistrar.registerWebService(WOWebServiceRegistrar.java:186) at com.webobjects.appserver.WOWebServiceRegistrar.registerWebService(WOWebServiceRegistrar.java:110) at com.decile.sageservice.Application.<init>(Application.java:53) 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:546) at com.decile.sageservice.Application.main(Application.java:40)
|