jmathplot icon indicating copy to clipboard operation
jmathplot copied to clipboard

This library worked just on Eclips or not ?

Open ZarchiMohammad opened this issue 7 years ago • 2 comments

I have a problem , i working with intellijIdea and get below error : Exception in thread "main" java.lang.NoClassDefFoundError: org/math/io/StringPrintable at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:763) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142) at java.net.URLClassLoader.defineClass(URLClassLoader.java:467) at java.net.URLClassLoader.access$100(URLClassLoader.java:73) at java.net.URLClassLoader$1.run(URLClassLoader.java:368) at java.net.URLClassLoader$1.run(URLClassLoader.java:362) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:361) at java.lang.ClassLoader.loadClass(ClassLoader.java:424) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:338) at java.lang.ClassLoader.loadClass(ClassLoader.java:357) at org.math.plot.canvas.PlotCanvas.(PlotCanvas.java:491) at org.math.plot.canvas.Plot2DCanvas.(Plot2DCanvas.java:25) at org.math.plot.Plot2DPanel.(Plot2DPanel.java:31) at FFT.main(FFT.java:110) Caused by: java.lang.ClassNotFoundException: org.math.io.StringPrintable at java.net.URLClassLoader.findClass(URLClassLoader.java:381) at java.lang.ClassLoader.loadClass(ClassLoader.java:424) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:338) at java.lang.ClassLoader.loadClass(ClassLoader.java:357)

ZarchiMohammad avatar Jul 29 '18 21:07 ZarchiMohammad

You probably need to add jmathio.jar dependency explicitely in your classpath, also.

Le dim. 29 juil. 2018 23:58, enghelab [email protected] a écrit :

I have a problem , i working with intellijIdea and get below error : Exception in thread "main" java.lang.NoClassDefFoundError: org/math/io/StringPrintable at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:763) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142) at java.net.URLClassLoader.defineClass(URLClassLoader.java:467) at java.net.URLClassLoader.access$100(URLClassLoader.java:73) at java.net.URLClassLoader$1.run(URLClassLoader.java:368) at java.net.URLClassLoader$1.run(URLClassLoader.java:362) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:361) at java.lang.ClassLoader.loadClass(ClassLoader.java:424) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:338) at java.lang.ClassLoader.loadClass(ClassLoader.java:357) at org.math.plot.canvas.PlotCanvas.(PlotCanvas.java:491) at org.math.plot.canvas.Plot2DCanvas.(Plot2DCanvas.java:25) at org.math.plot.Plot2DPanel.(Plot2DPanel.java:31) at FFT.main(FFT.java:110) Caused by: java.lang.ClassNotFoundException: org.math.io.StringPrintable at java.net.URLClassLoader.findClass(URLClassLoader.java:381) at java.lang.ClassLoader.loadClass(ClassLoader.java:424) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:338) at java.lang.ClassLoader.loadClass(ClassLoader.java:357)

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/yannrichet/jmathplot/issues/40, or mute the thread https://github.com/notifications/unsubscribe-auth/ABwZbt6cRfJP_NNwva-KhS5QFHXBuf1Pks5uLjAFgaJpZM4VllSe .

yannrichet avatar Jul 30 '18 07:07 yannrichet

Had the same issue and after adding jmathio.jar dependency i got: Exception in thread "main" java.lang.NullPointerException at java.desktop/javax.swing.ImageIcon.(ImageIcon.java:217) at org.math.plot.components.PlotToolBar.(PlotToolBar.java:61) at org.math.plot.PlotPanel.addPlotToolBar(PlotPanel.java:149) at org.math.plot.PlotPanel.(PlotPanel.java:59) at org.math.plot.PlotPanel.(PlotPanel.java:67) at org.math.plot.Plot2DPanel.(Plot2DPanel.java:31) at main.main(main.java:19)

I think i will just use a different library...

giuseppeCruised avatar Jan 22 '23 18:01 giuseppeCruised