Thanks Markus,

unfortunately that did not work.

I was able to do a clean install of Eclipse 2018-12 and now I'm going to
see if it can run my application.

On 2/6/19 3:59 AM, Markus Ruggiero wrote:

> When such things happen it is often because Eclipse corrupts its
> workspace. Something that usually helps is rebuilding the workspace.
>
> Go into Finder (or Explorer) or Terminal and locate the (invisible)
> directories .metadata and .recommenders at the root of your workspace
> folder. These contain all the workspace settings. Simply delete them both.
> Start Eclipse. It will recreate those dirs cleanly.
> You now have to re-import the existing projects again.
> Recreate all your workspace settings (most everything you might have
> done throgh Eclipse preferences dialog)
> Clean and rebuild your projects and things should be back to ok.
>
> It sounds scary but it's a simple and normally painless process that
> takes only a minute or two. Rebuilding the workspace DOES NOT harm
> your projects!
>
> Hope this helps
> ---markus---
>
>> On 5 Feb 2019, at 21:50, Valerio Luccio <valerio.luc...@nyu.edu
>> <mailto:valerio.luc...@nyu.edu>> wrote:
>>
>> I use Mars 4.5.2 on Mojave with JDK 1.8.201
>>
>> A couple of weeks ago all of a sudden my project stopped compiling
>> because it could not find the ERJars and ERExtensions frameworks,
>> even though they wee still on the same location on disk and my
>> properties file hadn't changed. Manged to get around that by adding
>> them as user libraries (it creates an issue when it comes to the ant
>> build, but I can get around that).
>>
>> Friday, out the blue, when I try to run the app, I get:
>>
>>     Error: A JNI error has occurred, please check your installation and try 
>> again
>>     Exception in thread "main" java.lang.NoClassDefFoundError: 
>> com/webobjects/foundation/NSCoding
>>         at java.lang.ClassLoader.findBootstrapClass(Native Method)
>>
>> I've been going nuts. This happening on my office desktop, but my
>> laptop (same version of O/S, Eclipse and Java) does not have either
>> issue. It seems like something in the classpath got screwed up, but
>> what ?
>>
>> I tried deleting Java and re-installing both JRE andJDK. It didn't help.
>>
>> I tried downloading Eclipse 2018-12, but when I try to run it tells
>> me it cannot find Java, even though it's clearly there and I can use
>> (and Mars does not seem to have an issue).
>>
>> I'm out of ideas.
>>
>> Thanks,
>>
>> -- 
>> Valerio Luccio             (212) 998-8736
>> Center for Brain Imaging   4 Washington Place, Room 157
>> New York University        New York, NY 10003
>>
>>     "In an open world, who needs windows or gates ?"
>> _______________________________________________
>> Do not post admin requests to the list. They will be ignored.
>> Webobjects-dev mailing list      (Webobjects-dev@lists.apple.com
>> <mailto:Webobjects-dev@lists.apple.com>)
>> Help/Unsubscribe/Update your Subscription:
>> https://lists.apple.com/mailman/options/webobjects-dev/mailinglists%40kataputt.com
>> <https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.apple.com_mailman_options_webobjects-2Ddev_mailinglists-2540kataputt.com&d=DwMFAg&c=slrrB7dE8n7gBJbeO0g-IQ&r=zZK0dca4HNf-XwnAN9ais1C3ncS0n2x39pF7yr-muHY&m=3SWA7zK4UqhbvOutwQt3NLAHKSlAUoANSjlonTnDio0&s=x_EIbnG0mXmBJ5xTf6kY4RcXXiLxwRcpeOklgZI9QYA&e=>
>>
>> This email sent to mailingli...@kataputt.com
>

-- 
Valerio Luccio             (212) 998-8736
Center for Brain Imaging   4 Washington Place, Room 157
New York University        New York, NY 10003

    "In an open world, who needs windows or gates ?"

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to