RapidMiner

RapidMiner

problem with RapidMiner.init()

Contributor II

problem with RapidMiner.init()

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
1 REPLY
Moderator

Re: problem with RapidMiner.init()

Hi,

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

Regards,
Marco
_________________________________________________________
Team Lead Software Engineering | RapidMiner GmbH