• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Webservices on Eclipse
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Webservices on Eclipse


  • Subject: Re: Webservices on Eclipse
  • From: Pascal Robert <email@hidden>
  • Date: Sat, 14 Jun 2008 06:01:37 -0700


Le 08-06-14 à 05:24, Drew Thoeni a écrit :

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)

So you are also migrating from WO 5.3 to 5.4?

* 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/

Don't put anything in there, if you are using external JARs, bundled them in your application (the Libraries folder) and add them to the build path (right-click on the jar -> add to build path).


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

...
[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
...

Look like you didn't include the JavaWebServicesSupport framework in your application. To add it, do this :


- Right-click on the project name
- Select "Build Path" -> "Configure Build Path"
- Open the "Libraries" pane
- Click on "WebObjects Frameworks" and click "Edit"
- Open the triangle next to "System"
- Locate " JavaWebServicesSupport" and click on the checkbox
- Click "Finish"
- Click "OK" for the JavaBuildPath dialog
- Your project should build itself automatically, when it's done, you can launch it again _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden
References: 
 >Webservices on Eclipse (From: Drew Thoeni <email@hidden>)

  • Prev by Date: Webservices on Eclipse
  • Next by Date: Re: Using a EO NSData Attribute in an HTML element's style
  • Previous by thread: Webservices on Eclipse
  • Next by thread: Re: Webservices on Eclipse
  • Index(es):
    • Date
    • Thread