🎉 🎉   RAPIDMINER 9.5 BETA IS OUT!!!   🎉 🎉

GRAB THE HOTTEST NEW BETA OF RAPIDMINER STUDIO, SERVER, AND RADOOP. LET US KNOW WHAT YOU THINK!

CLICK HERE TO DOWNLOAD

🦉 🎤   RapidMiner Wisdom 2020 - CALL FOR SPEAKERS   🦉 🎤

We are inviting all community members to submit proposals to speak at Wisdom 2020 in Boston.


Whether it's a cool RapidMiner trick or a use case implementation, we want to see what you have.
Form link is below and deadline for submissions is November 15. See you in Boston!

CLICK HERE TO GO TO ENTRY FORM

problem with RapidMiner.init()

mercyforevermercyforever Member Posts: 8 Contributor I
edited November 2018 in Help
Hi,

I have added rapidminer.jar into my project as a library. And a new problem came out with running rapidminer from Eclipse.
Here is the code:
May 01, 2016 8:48:22 PM com.rapidminer.tools.ParameterService init
INFO: Reading configuration resource com/rapidminer/resources/rapidminerrc.
May 01, 2016 8:48:22 PM com.rapidminer.tools.I18N <clinit>
INFO: Set locale to en.
May 01, 2016 8:48:22 PM com.rapid_i.Launcher ensureRapidMinerHomeSet
INFO: Property rapidminer.home is not set. Guessing.
May 01, 2016 8:48:22 PM com.rapid_i.Launcher ensureRapidMinerHomeSet
INFO: Trying parent directory of 'E:\yuanshuai\lab\thesis\ThesisProject\lib\rapidminer.jar'...gotcha!
May 01, 2016 8:48:23 PM com.rapidminer.repository.RepositoryManager load
INFO: Cannot access file system in execution mode UNKNOWN. Not loading repositories.
Exception in thread "main" java.lang.NoClassDefFoundError: com/vlsolutions/swing/docking/ui/DockingUISettings
at com.rapidminer.tools.plugin.Plugin.initAll(Plugin.java:944)
at com.rapidminer.RapidMiner.init(RapidMiner.java:521)
at Thesis.RM.<init>(RM.java:24)
at Thesis.MainGUI.initRM(MainGUI.java:32)
at Thesis.MainGUI.<init>(MainGUI.java:27)
at Thesis.MainProg.main(MainProg.java:9)
Caused by: java.lang.ClassNotFoundException: com.vlsolutions.swing.docking.ui.DockingUISettings
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)
... 6 more
I used the version "rapidminer-5" from github.
Any one know how to deal with this?
Thank you
Tagged:

Answers

  • Marco_BoeckMarco_Boeck Team Lead Software Engineering Administrator, Moderator, Employee, Member, University Professor Posts: 1,817   RM Engineering
    Hi,

    rapidminer.jar was no fat jar. In other words, all other libraries you need to pull in yourself as well.

    Regards,
    Marco
Sign In or Register to comment.