Can't build RapidMiner 7.5 from source

klinklin MemberPosts:9Contributor I
edited November 2018 inHelp

Hi, I'm having trouble building RapidMiner Studio since I downloaded the latest source from github. Even with no local changes I get dependency issues and NoClassDefFound errors everywhere when I run tests. Do I need to update something else?

Tagged:

Answers

  • zprekopcsakzprekopcsak RapidMiner Certified Expert, MemberPosts:47Guru

    Hi, please try this thread on Github:https://github.com/rapidminer/rapidminer-studio/issues/1

  • klinklin MemberPosts:9Contributor I

    Thank you for the reply, Zoltan. I was able to avoid the NoClassDefFound issues that way, but I still have dependency problems with the org.h2.api and org.h2.tools libraries. I don't see these in the dependency sections of the build.gradle file. Do I need to add them, and if so, which version should I use?

  • zprekopcsakzprekopcsak RapidMiner Certified Expert, MemberPosts:47Guru

    They are included ascompile 'com.h2database:h2:1.4.194'so this might be an issue with your Gradle setup then.

  • klinklin MemberPosts:9Contributor I

    Thanks, I was able to locate those. What about the com.vlsolutions.swing packages? I am now at a loss for where to find those, if they are in one of the included dependencies.

  • zprekopcsakzprekopcsak RapidMiner Certified Expert, MemberPosts:47Guru
  • klinklin MemberPosts:9Contributor I

    Thank you Zoltan for your patient responses. I am now able to build RapidMiner but when I try to run RapidMinerGUI.java from inside IntelliJ, I get the following error:

    Exception in thread "main" java.lang.ExceptionInInitializerError
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:264)
    at com.intellij.rt.execution.application.AppMain.main(AppMain.java:122)
    Caused by: java.lang.IllegalStateException: Could not initialize RapidMiner Studio version from properties file
    在com.rapidminer.tools.PlatformUtilities.initializeReleaseVersion(PlatformUtilities.java:184)
    在com.rapidminer.tools.PlatformUtilities.initialize(PlatformUtilities.java:134)
    在com.rapidminer.tools.PlatformUtilities.getReleaseVersion(PlatformUtilities.java:169)
    at com.rapidminer.RapidMinerVersion.(RapidMinerVersion.java:33)
    at com.rapidminer.RapidMiner.(RapidMiner.java:165)
    ... 3 more

    What properties file is this referring to?

  • klinklin MemberPosts:9Contributor I

    I downloaded the latest 7.5.1 code and received the same error, but was able to work around it by manually copying gradle.properties to my build directory. I can now run RM, albeit a bunch of exceptions in the console.

    I think I'm good for now, but wonder if others are experiencing similar difficulties. I just downloaded the code from github and ran as-is, no local changes.

Sign InorRegisterto comment.