NoClassDefFoundError MethodClosure

Questions, answers, tips and ideas on Servoy Client

NoClassDefFoundError MethodClosure

Postby Providence1 » Tue Nov 18, 2014 3:55 am

I'm getting this error on all versions of Java 7 Update 24-71 on my Mac machines:

java.lang.NoClassDefFoundError: com/apple/mrj/jdirect/MethodClosure
at net.roydesign.mac.MRJAdapter.addAboutListener(MRJAdapter.java:777)
at net.roydesign.app.AboutJMenuItem.addActionListener(AboutJMenuItem.java:78)
at com.servoy.j2db.smart.J2DBClient.attachAppleMenu(J2DBClient.java:2899)
at com.servoy.j2db.smart.J2DBClient.applicationSetup(J2DBClient.java:1010)
at com.servoy.j2db.smart.J2DBClient.startupApplication(J2DBClient.java:773)
at com.servoy.j2db.smart.J2DBClient$4.run(J2DBClient.java:683)
at com.servoy.j2db.smart.J2DBClient.mainImpl(J2DBClient.java:707)
at com.servoy.j2db.smart.J2DBClient.main(J2DBClient.java:670)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at com.sun.javaws.Launcher.executeApplication(Unknown Source)
at com.sun.javaws.Launcher.executeMainClass(Unknown Source)
at com.sun.javaws.Launcher.doLaunchApp(Unknown Source)
at com.sun.javaws.Launcher.run(Unknown Source)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.ClassNotFoundException: com.apple.mrj.jdirect.MethodClosure
at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
at com.sun.jnlp.JNLPClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
... 17 more


Any ideas as to what can be causing this?

Most appreciative, in advance.
Providence
Providence1
 
Posts: 456
Joined: Tue Aug 17, 2004 2:36 am
Location: New York, NY

Re: NoClassDefFoundError MethodClosure

Postby jcompagner » Mon Nov 24, 2014 3:14 pm

which version of servoy are you using?

this seems to be a problem of the mrjadapter.jar, you could try to move it away (or replace it with a emtpy file)
or get a mrjadapter.jar file from a later release of servoy.
Johan Compagner
Servoy
User avatar
jcompagner
 
Posts: 8828
Joined: Tue May 27, 2003 7:26 pm
Location: The Internet


Return to Servoy Client

Who is online

Users browsing this forum: No registered users and 13 guests