rapidminer.init()出错

时间:2013-12-17 17:35:02

标签: java rapidminer

我是将Rapid miner集成到Java应用程序中的新手,目前我在rapidminer.init()中有一个例外。据我所知,因为存储库。但我不知道该怎么办。我做了一些研究,但我仍然无法解决我的问题。例外是:

Dez 17, 2013 5:26:39 PM com.rapidminer.tools.ParameterService init
INFO: Reading configuration resource com/rapidminer/resources/rapidminerrc.
Dec 17, 2013 5:26:39 PM com.rapidminer.tools.I18N <clinit>
INFO: Set locale to en.
Dec 17, 2013 5:26:39 PM com.rapid_i.Launcher ensureRapidMinerHomeSet
INFO: Property rapidminer.home is not set. Guessing.
Dec 17, 2013 5:26:39 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 17, 2013 5:26:39 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 17, 2013 5:26:39 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

我的代码非常简单:

public RapidMinnerInteraction()
    {

             RapidMinerCommandLine.init();

              Process process = null;
            try {
                process = new Process(new File("NeuralNetwork/NeuralNetworkProcess.rmp"));
                try {
                    process.run();
                } catch (OperatorException e) {
                    // TODO Auto-generated catch block
                    e.printStackTrace();
                }
            } catch (IOException e1) {
                // TODO Auto-generated catch block
                e1.printStackTrace();
            } catch (XMLException e1) {
                // TODO Auto-generated catch block
                e1.printStackTrace();
            }




    }

任何帮助都很棒

亲切的问候

1 个答案:

答案 0 :(得分:1)

从异常情况看,您似乎错过了至少将vldocking.jar文件添加到类路径中,可能还有其他文件丢失了。