The Altair Community is migrating to a new platform to provide a better experience for you. In preparation for the migration, the Altair Community is on read-only mode from October 28 - November 6, 2024. Technical support via cases will continue to work as is. For any urgent requests from Students/Faculty members, please submit the form linked here
Error on rapidminer.init()
Pedro_Neves
Member Posts: 4 Contributor I
Hello, I'm trying to make an application that integrates a process from rapid miner (still learning how to do). My problem is that the line rapidminer.init() outputs the following errors:
Thanks in advance
Dez 19, 2013 2:03:31 PM com.rapidminer.tools.ParameterService initThe problem is obviously on ensuring the path to the home directory (on red) but how can i do that?
INFO: Reading configuration resource com/rapidminer/resources/rapidminerrc.
Dec 19, 2013 2:03:31 PM com.rapidminer.tools.I18N <clinit>
INFO: Set locale to en.
Dec 19, 2013 2:03:31 PM[glow=red,2,300] com.rapid_i.Launcher ensureRapidMinerHomeSet
INFO: Property rapidminer.home is not set. Guessing.[/glow]
Dec 19, 2013 2:03:31 PM com.rapid_i.Launcher ensureRapidMinerHomeSet
INFO: Trying parent directory of 'C:\Documents and Settings\Geral\workspace\LinkMiningModule\Resources\RM5.3\launcher.jar'...gotcha!
Dec 19, 2013 2:03:31 PM com.rapid_i.Launcher ensureRapidMinerHomeSet
INFO: Trying parent directory of 'C:\Documents and Settings\Geral\workspace\LinkMiningModule\Resources\RM5.3\rapidminer.jar'...gotcha!
Dec 19, 2013 2:03:31 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:945)
at com.rapidminer.RapidMiner.init(RapidMiner.java:550)
at DataMinning.RapidMinnerInteraction.<init>(RapidMinnerInteraction.java:26)
at dataBaseHandling.GatheringInformationFromDB.<init>(GatheringInformationFromDB.java:61)
at General.InitializeEverything.<init>(InitializeEverything.java:22)
at General.Main.main(Main.java:12)
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
Thanks in advance
0
Answers
I would not recommend the version 4.6, there were a lot of improvements since then.
The RapidMiner home is checked by this method in the RapidMiner#init(): ParameterService#ensureRapidMinerHomeSet(), which calls Launcher#ensureRapidMinerHomeSet(), which looks for the property.
Hope this helps to solve your problem, though the guessing might was lucky in your case too.
Cheers, gabor
It should point to the path of the RapidMiner installation (where you have the lib, resources, ... folders, in my case: C:\Program Files\Rapid-I\RapidMiner5 for the 5.3.15 CE version).
please check this thread, especially question 4: http://rapid-i.com/rapidforum/index.php/topic,5807.0.html
You need to tell RapidMiner in which mode to launch.
Regards,
Marco