Hi Francis,
The launcher config has its own classpath. Check there, that is
likely where the problem lies.
Chuck
On Mar 9, 2007, at 8:14 PM, Francis Labrie wrote:
> Hi,
>
>
> I was able to build and run a WebObjects application from Eclipse
> up to recently. I've added some resources (EOModel, etc.) and now I
> can still build, but I just can't run or debug this application in
> Eclipse anymore, I always get a NoClassDefFoundError:
>
> Exception in thread "main" java.lang.NoClassDefFoundError: com/
> webobjects/foundation/NSCoding
> at java.lang.ClassLoader.findBootstrapClass(Native Method)
> [...]
>
> It seems Eclipse / WOLips just can't find JavaFoundation.framework.
> I've checked my "build.properties", my "build.xml" and my
> "woproject" files, and all seems ok. I've deleted both "build" and
> "dist" directory, and rebuilt the application, without success.
>
> Strangely, I can run my application int the "dist" directory from
> the command line without error.
>
> Does someone have an idea about the way to fix this problem? Thanks.
>
>
> Kind regards,
>
> --
> Francis Labrie
> Saint-Bruno-de-Montarville, Québec, Canada
>
--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
This archive was generated by hypermail 2.0.0 : Fri Mar 09 2007 - 23:53:29 EST