🎉Community Raffle - Win $25

An exclusive raffle opportunity for active members like you! Complete your profile, answer questions and get your first accepted badge to enter the raffle.
Join and Win

Can't build RapidMiner 7.5 from source

User: "klin"
New Altair Community Member
Updated by Jocelyn

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?  

Find more posts tagged with

Sort by:
1 - 7 of 71
    User: "zprekopcsak"
    New Altair Community Member

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

     

    User: "klin"
    New Altair Community Member
    OP

    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?

    User: "zprekopcsak"
    New Altair Community Member

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

    User: "klin"
    New Altair Community Member
    OP

    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.

    User: "zprekopcsak"
    New Altair Community Member
    User: "klin"
    New Altair Community Member
    OP

    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
    at com.rapidminer.tools.PlatformUtilities.initializeReleaseVersion(PlatformUtilities.java:184)
    at com.rapidminer.tools.PlatformUtilities.initialize(PlatformUtilities.java:134)
    at com.rapidminer.tools.PlatformUtilities.getReleaseVersion(PlatformUtilities.java:169)
    at com.rapidminer.RapidMinerVersion.<init>(RapidMinerVersion.java:33)
    at com.rapidminer.RapidMiner.<clinit>(RapidMiner.java:165)
    ... 3 more

     

    What properties file is this referring to?

    User: "klin"
    New Altair Community Member
    OP

    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.