• 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 jar frameworks and classpaths
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: WebObjects jar frameworks and classpaths


  • Subject: Re: WebObjects jar frameworks and classpaths
  • From: Lachlan Deck <email@hidden>
  • Date: Wed, 7 Jan 2009 10:31:04 +1100

Hi John,

On 07/01/2009, at 12:18 AM, John Pollard wrote:

A bit off topic, but I am struggling to make sense of this. Simply put I want to understand why I can't put a couple of jars into a WO framework and have the code still work as it does when the same jars are in /Library/Java/Extensions.

Not really off topic. This is a classpath issue.

Created a new WebObjects framework.
Manually moved two jar files (rome-1.0RC1.jar and jdom.jar) out of / Library/Java/Extensions into the new framework project's /Libraries sub folder

Good.

In Java Build Path properties, Libraries tab, Add Jars.. to add them in, then in the Order and Export tab tick them

Good.

In the app project, add the new framework as a dependency

Eclipse shows no compile time problems, so why the runtime error:
[java.lang.NoClassDefFoundError] com/sun/syndication/io/ ModuleGenerator


I will be very grateful for any pointers to help me solve this one; in particular why/when Eclipse is happy at compile time, but actually the classes are not found when run.

Are you running WOLips nightly and Eclipse 3.4.x? If not you might need to update WOLips/Eclipse to get the fix that I think went in late November.


The class that is not found is definitely in the rome jar.

Search the archives for Transitive. It's a transitive dependency problem.


with regards,
--

Lachlan Deck

_______________________________________________
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


  • Follow-Ups:
    • Re: WebObjects jar frameworks and classpaths
      • From: John Pollard <email@hidden>
References: 
 >WebObjects jar frameworks and classpaths (From: John Pollard <email@hidden>)

  • Prev by Date: Re: Problem after Wonder and WO upgrade
  • Next by Date: A relationship in a converted model now throws an exception on save
  • Previous by thread: WebObjects jar frameworks and classpaths
  • Next by thread: Re: WebObjects jar frameworks and classpaths
  • Index(es):
    • Date
    • Thread