I had that error and I think the solution was compiler settings and fussing with target versions, but it also may have been a framework that seemingly used to be included but perhaps got lost from my class path or otherwise needed to be added or re-ordered.
Unfortunately I can’t recall and only vaguely recall that error — I’m sure that error could have any number of root causes, but perhaps that gives you a few ideas to pursue... > On Feb 5, 2019, at 3:50 PM, Valerio Luccio <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) > Help/Unsubscribe/Update your Subscription: > https://lists.apple.com/mailman/options/webobjects-dev/jtayler%40oeinc.com > > This email sent to jtay...@oeinc.com
_______________________________________________ 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