Thanks Chuck,

I placed the gdata folder in the Libraries folder for the app and then added it via Configure Build Path in Eclipse. This seemed to make all imports happy and the app worked in development. When it didn't work in deployment I tried moving the gdata folder to a folder within System/Libray/Java/ and changing build path. Again devel happy deployment can't seem to find it. I also added various dependencies to the System/Libray/Java/Extensions folder on both devel and deployment computers.

I assume Libraries are added at compile time and need not be moved to the deployment server so if it did not work in deployment the build was a problem. What problem and how to fix it is a mystery. Or maybe I have a bad assumption. Just in case I moved the gdata folder to the server too. I also made sure all extensions were the same on both computers.

Sorry for the addressing problem. Anyones wisdom in this area would be greatly appreciated.

On Oct 13, 2009, at 12:00 PM, Chuck Hill wrote:

Hi Greg,

Please keep messages on the list.


On Oct 13, 2009, at 9:19 AM, Greg Smith wrote:

Thanks Chuck, you are amazing again. That worked great in development but gave the following error in the log when deployed.

com.webobjects.foundation.NSForwardException [java.lang.NoClassDefFoundError] com/google/gdata/client/ Query:<DirectAction> Action Named 'aAction()' raised an Exception: java.lang.NoClassDefFoundError: com/google/gdata/client/Query

Do you know if I need change build.xml to reflect the added library? Thanks.

What did you do with it when you removed it from /Library/Java/ Extensions? It should go in the Libraries folder in one of your projects (the app or a common framework).



Chuck


On Sep 16, 2009, at 12:10 PM, Chuck Hill wrote:


On Sep 16, 2009, at 11:50 AM, Greg Smith wrote:

Greeting,

Has anyone installed and used gdata with WebObjects? Gdata looks like the best option for getting google calendar data into WebObjects. I tried to install it but no luck, WO can't find imports. There may be some issues with gdata expecting to be use with Tomcat. All I've tried so far is to place the 'gdata' folder in the java extensions. If anyone has made this work I would love hear about it. Thanks

/Library/Java/Extensions? That is pretty much guaranteed to be the wrong location. Put it in the Libraries folder in your app / framework.


Chuck


--
Chuck Hill             Senior Consultant / VP Development

Practical WebObjects - for developers who want to increase their overall knowledge of WebObjects or who are trying to solve specific problems.
http://www.global-village.net/products/practical_webobjects








_______________________________________________
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