Re: Can't run anymore
Re: Can't run anymore
- Subject: Re: Can't run anymore
- From: Markus Ruggiero <email@hidden>
- Date: Wed, 06 Feb 2019 09:59:51 +0100
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 <email@hidden> 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 (email@hidden)
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden
_______________________________________________
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