[nbusers] Re: java.lang.NoClassDefFoundError: info/monitorenter/gui/chart
- From: Ion Iovu <
- Subject: [nbusers] Re: java.lang.NoClassDefFoundError: info/monitorenter/gui/chart
- Date: Mon, 26 Nov 2012 11:21:09 +0200
Keep up the good work.
Are you interested in joining the #netbeans irc channel to provide help on that side as well?
On Nov 26, 2012, at 11:19 AM, Stadelmann Josef wrote:
Thank you, I am always learning. Josef Von: Ion Iovu [mailto:
Gesendet: Montag, 26. November 2012 10:03
Betreff: [nbusers] Re: java.lang.NoClassDefFoundError: info/monitorenter/gui/chart
from the logs pasted by the user it seems he is using exe4j to create a windows executable.
Aside from adding the jar of your application, you'll also need to add all the dependency jars (jchart 2d and any other dependency.)
On Nov 26, 2012, at 10:51 AM, Stadelmann Josef wrote:
Are you saying you have packaged/zipped your well working jar into an exe and expect that at class loading time you exe is taken to disassemble the jar then the calls loader is taken to catch and load the class from the well working jar? So far I have never seen or used that in Java.
Von: waghmalemahesh [
" style="color: blue; text-decoration: underline; ">mailto:
Gesendet: Samstag, 24. November 2012 14:35
" style="color: blue; text-decoration: underline; ">
Betreff: [nbusers] java.lang.NoClassDefFoundError: info/monitorenter/gui/chart
I have developed my application in netbeans and used Jchart2D in my application and also created jar file of my application and it's work well but problem is that when i have created exe file of generated jar file than following error related to jchart2D has been occurred.
Error is: java.lang.NoClassDefFoundError: info/monitorenter/gui/chart/IRangePolicy at java.lang.Class.getDeclaredMethods0(Native Method) at java.lang.Class.privateGetDeclaredMethods(Unknown Source) at java.lang.Class.getDeclaredMethod(Unknown Source) at com.exe4j.runtime.LauncherEngine.launch(Unknown Source) at com.exe4j.runtime.WinLauncher.main(Unknown Source) Caused by: java.lang.ClassNotFoundException: info.monitorenter.gui.chart.IRangePolicy at java.net.URLClassLoader$1.run(Unknown Source) at java.net.URLClassLoader$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) ... 5 more
I dont know what happen exact ... please help me
About this Project