• 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: WebObjects 5.4 Webservices and arrays deserializer
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: WebObjects 5.4 Webservices and arrays deserializer


  • Subject: Re: WebObjects 5.4 Webservices and arrays deserializer
  • From: Art Isbell <email@hidden>
  • Date: Fri, 29 Feb 2008 10:45:13 -1000

On Feb 28, 2008, at 10:50 PM, Kristof Cossement wrote:

I copied the system frameworks into my xcode project and removed the system
frameworks from my project.
The code compiles, but does not run:


java.lang.NoClassDefFoundError: com/webobjects/appserver/WOApplication

Generated classpath:

/Users/admin/Data/Projects/ServiceProviderFrameWork/build/ Development/Servic
eProvider.woa/Contents/Resources/Java/serviceprovider.jar
JavaEOAccess.framework/Resources/Java/javaeoaccess.jar
JavaEOControl.framework/Resources/Java/javaeocontrol.jar
JavaFoundation.framework/Resources/Java/javafoundation.jar
JavaWebObjects.framework/Resources/Java/javawebobjects.jar
JavaWebServicesClient.framework/Resources/Java/ javawebservicesclient.jar
JavaWebServicesSupport.framework/Resources/Java/ javawebservicessupport.jar
JavaWOExtensions.framework/Resources/Java/JavaWOExtensions.jar
JavaXML.framework/Resources/Java/javaxml.jar

The above runtime classpaths don't look correct. Maybe someone with more Eclipse or maybe ant experience than I have could explain what you need to do to fix the classpaths. The entries should look like:


APPROOT/<path_in_woa_to_frameworks>/JavaEOAccess.framework/Resources/ Java/javaeoaccess.jar

build.xml and app-modules.xml in the JavaEOGenerator source contain a "self-contained-woa" target that does the right thing when built with ant. But there are probably ways to make this happen in an Eclipse/ WOLips project as well.

Or you could manually edit *.woa/Contents/MacOS/MacOSClassPath.txt which would probably take less time than trying to figure out how to make this happen in Eclipse or with ant build files :-)

Aloha,
Art

_______________________________________________
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: 
 >Re: WebObjects 5.4 Webservices and arrays deserializer (From: Kristof Cossement <email@hidden>)

  • Prev by Date: Re: WOLips 3.3 Stable
  • Next by Date: Re: SMTP Authentication for WO
  • Previous by thread: Re: WebObjects 5.4 Webservices and arrays deserializer
  • Next by thread: WOLips 3.3 Stable
  • Index(es):
    • Date
    • Thread