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

Bug: Cant start RapidMinor integrated in an application

ga63geqga63geq Member Posts: 4 Contributor I
edited November 2018 in Help

Hello All,

 

I am trying to integrate RM in My Java Application, I am using a educational version and created this particular code after integrating the jar. 

package rm;

import com.rapidminer.*;
import com.rapidminer.Process;
import com.rapidminer.operator.Operator;
import com.rapidminer.operator.nio.ExcelExampleSource;
import com.rapidminer.operator.OperatorDescription;
import java.io.File;
import java.io.FileReader;
import java.io.IOException;

public class CSVDataLoader {

public static void rmCSVLoader(){
try {
RapidMiner.setExecutionMode(RapidMiner.ExecutionMode.COMMAND_LINE);
RapidMiner.init();
Process process = new Process(new File("D:\\TUM\\Master Thesis\\RapidMiner\\NewProcess.rpm"));
Operator op = process.getOperator("Read Excel");
op.setParameter(ExcelExampleSource.PARAMETER_EXCEL_FILE, "D:\\TUM\\Master Thesis\\DataSets\\Task.xls");
process.run();
} catch (Exception ex) {
ex.printStackTrace();
}
}
}

However when I run it I get the below exception, can somebody please help me. 

[warn] com.rapidminer - Could not parse XML settings file: settings.xml. Cause: Attribute key not found.
[warn] com.rapidminer - Cannot create operator description: RapidMiner Core : process
java.lang.NoClassDefFoundError: com/twelvemonkeys/imageio/spi/ImageReaderSpiBase
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:763)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:467)
at java.net.URLClassLoader.access$100(URLClassLoader.java:73)
at java.net.URLClassLoader$1.run(URLClassLoader.java:368)
at java.net.URLClassLoader$1.run(URLClassLoader.java:362)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:361)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
Caused by: java.lang.ClassNotFoundException: com.twelvemonkeys.imageio.spi.ImageReaderSpiBase
at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:763)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:467)
at java.net.URLClassLoader.access$100(URLClassLoader.java:73)
at java.net.URLClassLoader$1.run(URLClassLoader.java:368)
at java.net.URLClassLoader$1.run(URLClassLoader.java:362)
[warn] com.rapidminer - Cannot create operator description: RapidMiner Core : dummy
java.lang.NoClassDefFoundError: Could not initialize class com.rapidminer.operator.OperatorDescription
at com.rapidminer.tools.OperatorService.parseOperators(OperatorService.java:354)
at com.rapidminer.tools.OperatorService.parseOperators(OperatorService.java:346)
at com.rapidminer.tools.OperatorService.parseOperators(OperatorService.java:346)
at com.rapidminer.tools.OperatorService.parseOperators(OperatorService.java:346)
at com.rapidminer.tools.OperatorService.parseOperators(OperatorService.java:320)
at com.rapidminer.tools.OperatorService.registerOperators(OperatorService.java:267)
at com.rapidminer.tools.OperatorService.registerOperators(OperatorService.java:239)
at com.rapidminer.tools.OperatorService.init(OperatorService.java:133)
at com.rapidminer.RapidMiner.init(RapidMiner.java:638)
at com.rapidminer.RapidMiner.init(RapidMiner.java:573)
[warn] com.rapidminer - Cannot create operator description: RapidMiner Core : hierarchical_classification
java.lang.NoClassDefFoundError: Could not initialize class com.rapidminer.operator.OperatorDescription
at com.rapidminer.tools.OperatorService.parseOperators(OperatorService.java:354)
at com.rapidminer.tools.OperatorService.parseOperators(OperatorService.java:346)
at com.rapidminer.tools.OperatorService.parseOperators(OperatorService.java:346)
at com.rapidminer.tools.OperatorService.parseOperators(OperatorService.java:320)
at com.rapidminer.tools.OperatorService.registerOperators(OperatorService.java:267)
at com.rapidminer.tools.OperatorService.registerOperators(OperatorService.java:239)
at com.rapidminer.tools.OperatorService.init(OperatorService.java:133)
Uncaught error from thread [application-akka.actor.default-dispatcher-2] shutting down JVM since 'akka.jvm-exit-on-fatal-error' is enabled for ActorSystem[application]
java.lang.NoClassDefFoundError: Could not initialize class com.rapidminer.gui.tools.SwingTools
at com.rapidminer.tools.GroupTree.loadIcons(GroupTree.java:270)
at com.rapidminer.tools.GroupTree.setIconName(GroupTree.java:217)
at com.rapidminer.RapidMiner.init(RapidMiner.java:638)
at com.rapidminer.tools.OperatorService.parseOperators(OperatorService.java:340)
at com.rapidminer.tools.OperatorService.parseOperators(OperatorService.java:346)
at com.rapidminer.tools.OperatorService.parseOperators(OperatorService.java:346)
at com.rapidminer.RapidMiner.init(RapidMiner.java:573)
at rm.CSVDataLoader.rmCSVLoader(CSVDataLoader.java:17)
at com.rapidminer.tools.OperatorService.parseOperators(OperatorService.java:346)
at com.rapidminer.tools.OperatorService.parseOperators(OperatorService.java:320)
[warn] com.rapidminer - Cannot create operator description: RapidMiner Core : read_aml
at com.rapidminer.tools.OperatorService.registerOperators(OperatorService.java:267)
at com.rapidminer.tools.OperatorService.registerOperators(OperatorService.java:239)
at com.rapidminer.tools.OperatorService.init(OperatorService.java:133)
at com.rapidminer.RapidMiner.init(RapidMiner.java:638)
at com.rapidminer.RapidMiner.init(RapidMiner.java:573)
at rm.CSVDataLoader.rmCSVLoader(CSVDataLoader.java:17)
at controllers.HomeController.index(HomeController.java:17)
java.lang.NoClassDefFoundError: Could not initialize class com.rapidminer.operator.OperatorDescription
at router.Routes$$anonfun$routes$1$$anonfun$applyOrElse$1$$anonfun$apply$1.apply(Routes.scala:359)
at router.Routes$$anonfun$routes$1$$anonfun$applyOrElse$1$$anonfun$apply$1.apply(Routes.scala:359)
at play.core.routing.HandlerInvokerFactory$$anon$4.resultCall(HandlerInvoker.scala:157)
at play.core.routing.HandlerInvokerFactory$$anon$4.resultCall(HandlerInvoker.scala:156)
at play.core.routing.HandlerInvokerFactory$JavaActionInvokerFactory$$anon$14$$anon$3$$anon$1.invocation(HandlerInvoker.scala:136)
at play.core.j.JavaAction$$anon$1.call(JavaAction.scala:73)
at play.http.HttpRequestHandler$1.call(HttpRequestHandler.java:54)
at play.core.j.JavaAction$$anonfun$7.apply(JavaAction.scala:108)
at play.core.j.JavaAction$$anonfun$7.apply(JavaAction.scala:108)
at scala.concurrent.impl.Future$PromiseCompletingRunnable.liftedTree1$1(Future.scala:24)
at scala.concurrent.impl.Future$PromiseCompletingRunnable.run(Future.scala:24)
at play.core.j.HttpExecutionContext$$anon$2.run(HttpExecutionContext.scala:56)
at play.api.libs.iteratee.Execution$trampoline$.execute(Execution.scala:70)
at play.core.j.HttpExecutionContext.execute(HttpExecutionContext.scala:48)
at scala.concurrent.impl.Future$.apply(Future.scala:31)
at scala.concurrent.Future$.apply(Future.scala:492)
at play.core.j.JavaAction.apply(JavaAction.scala:108)
at play.api.mvc.Action$$anonfun$apply$2$$anonfun$apply$5$$anonfun$apply$6.apply(Action.scala:112)
at play.api.mvc.Action$$anonfun$apply$2$$anonfun$apply$5$$anonfun$apply$6.apply(Action.scala:112)
at play.utils.Threads$.withContextClassLoader(Threads.scala:21)
at play.api.mvc.Action$$anonfun$apply$2$$anonfun$apply$5.apply(Action.scala:111)
at play.api.mvc.Action$$anonfun$apply$2$$anonfun$apply$5.apply(Action.scala:110)
at scala.Option.map(Option.scala:146)
at play.api.mvc.Action$$anonfun$apply$2.apply(Action.scala:110)
at play.api.mvc.Action$$anonfun$apply$2.apply(Action.scala:103)
at scala.concurrent.Future$$anonfun$flatMap$1.apply(Future.scala:251)
at scala.concurrent.Future$$anonfun$flatMap$1.apply(Future.scala:249)
at scala.concurrent.impl.CallbackRunnable.run(Promise.scala:32)
at akka.dispatch.BatchingExecutor$AbstractBatch.processBatch(BatchingExecutor.scala:55)
at akka.dispatch.BatchingExecutor$BlockableBatch$$anonfun$run$1.apply$mcV$sp(BatchingExecutor.scala:91)
at akka.dispatch.BatchingExecutor$BlockableBatch$$anonfun$run$1.apply(BatchingExecutor.scala:91)
at akka.dispatch.BatchingExecutor$BlockableBatch$$anonfun$run$1.apply(BatchingExecutor.scala:91)
at scala.concurrent.BlockContext$.withBlockContext(BlockContext.scala:72)
at akka.dispatch.BatchingExecutor$BlockableBatch.run(BatchingExecutor.scala:90)
at akka.dispatch.TaskInvocation.run(AbstractDispatcher.scala:39)
at akka.dispatch.ForkJoinExecutorConfigurator$AkkaForkJoinTask.exec(AbstractDispatcher.scala:409)
at scala.concurrent.forkjoin.ForkJoinTask.doExec(ForkJoinTask.java:260)
at scala.concurrent.forkjoin.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1339)
at scala.concurrent.forkjoin.ForkJoinPool.runWorker(ForkJoinPool.java:1979)
at com.rapidminer.tools.OperatorService.parseOperators(OperatorService.java:354)
at scala.concurrent.forkjoin.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:107)
at com.rapidminer.tools.OperatorService.parseOperators(OperatorService.java:346)
at com.rapidminer.tools.OperatorService.parseOperators(OperatorService.java:346)
at com.rapidminer.tools.OperatorService.parseOperators(OperatorService.java:320)
at com.rapidminer.tools.OperatorService.registerOperators(OperatorService.java:267)
at com.rapidminer.tools.OperatorService.registerOperators(OperatorService.java:239)
at com.rapidminer.tools.OperatorService.init(OperatorService.java:133)
at com.rapidminer.RapidMiner.init(RapidMiner.java:638)
at com.rapidminer.RapidMiner.init(RapidMiner.java:573)
at rm.CSVDataLoader.rmCSVLoader(CSVDataLoader.java:17)
[warn] com.rapidminer - Cannot create operator description: RapidMiner Core : write_aml
java.lang.NoClassDefFoundError: Could not initialize class com.rapidminer.operator.OperatorDescription
at com.rapidminer.tools.OperatorService.parseOperators(OperatorService.java:354)
at com.rapidminer.tools.OperatorService.parseOperators(OperatorService.java:346)
at com.rapidminer.tools.OperatorService.parseOperators(OperatorService.java:346)
at com.rapidminer.tools.OperatorService.parseOperators(OperatorService.java:320)
at com.rapidminer.tools.OperatorService.registerOperators(OperatorService.java:267)
at com.rapidminer.tools.OperatorService.registerOperators(OperatorService.java:239)
at com.rapidminer.tools.OperatorService.init(OperatorService.java:133)
at com.rapidminer.RapidMiner.init(RapidMiner.java:638)
at com.rapidminer.RapidMiner.init(RapidMiner.java:573)
at rm.CSVDataLoader.rmCSVLoader(CSVDataLoader.java:17)
[warn] com.rapidminer - Cannot create operator description: RapidMiner Core : clustermodel_2_exampleset
java.lang.NoClassDefFoundError: Could not initialize class com.rapidminer.operator.OperatorDescription
at com.rapidminer.tools.OperatorService.parseOperators(OperatorService.java:354)
at com.rapidminer.tools.OperatorService.parseOperators(OperatorService.java:346)
at com.rapidminer.tools.OperatorService.parseOperators(OperatorService.java:346)
at com.rapidminer.tools.OperatorService.parseOperators(OperatorService.java:320)
at com.rapidminer.tools.OperatorService.registerOperators(OperatorService.java:267)
at com.rapidminer.tools.OperatorService.registerOperators(OperatorService.java:239)
at com.rapidminer.tools.OperatorService.init(OperatorService.java:133)
at com.rapidminer.RapidMiner.init(RapidMiner.java:638)
at com.rapidminer.RapidMiner.init(RapidMiner.java:573)
at rm.CSVDataLoader.rmCSVLoader(CSVDataLoader.java:17)
[warn] com.rapidminer - Cannot create operator description: RapidMiner Core : decision_tree
java.lang.NoClassDefFoundError: Could not initialize class com.rapidminer.operator.OperatorDescription
at com.rapidminer.tools.OperatorService.parseOperators(OperatorService.java:354)
at com.rapidminer.tools.OperatorService.parseOperators(OperatorService.java:346)
at com.rapidminer.tools.OperatorService.parseOperators(OperatorService.java:346)
at com.rapidminer.tools.OperatorService.parseOperators(OperatorService.java:320)
at com.rapidminer.tools.OperatorService.registerOperators(OperatorService.java:267)
at com.rapidminer.tools.OperatorService.registerOperators(OperatorService.java:239)
at com.rapidminer.tools.OperatorService.init(OperatorService.java:133)
at com.rapidminer.RapidMiner.init(RapidMiner.java:638)
at com.rapidminer.RapidMiner.init(RapidMiner.java:573)
at rm.CSVDataLoader.rmCSVLoader(CSVDataLoader.java:17)
[warn] com.rapidminer - Cannot create operator description: RapidMiner Core : random_forest
java.lang.NoClassDefFoundError: Could not initialize class com.rapidminer.operator.OperatorDescription
at com.rapidminer.tools.OperatorService.parseOperators(OperatorService.java:354)
at com.rapidminer.tools.OperatorService.parseOperators(OperatorService.java:346)
at com.rapidminer.tools.OperatorService.parseOperators(OperatorService.java:346)
at com.rapidminer.tools.OperatorService.parseOperators(OperatorService.java:320)
at com.rapidminer.tools.OperatorService.registerOperators(OperatorService.java:267)
at com.rapidminer.tools.OperatorService.registerOperators(OperatorService.java:239)
at com.rapidminer.tools.OperatorService.init(OperatorService.java:133)
at com.rapidminer.RapidMiner.init(RapidMiner.java:638)
at com.rapidminer.RapidMiner.init(RapidMiner.java:573)
at rm.CSVDataLoader.rmCSVLoader(CSVDataLoader.java:17)
[warn] com.rapidminer - Cannot create operator description: RapidMiner Core : x_prediction
java.lang.NoClassDefFoundError: Could not initialize class com.rapidminer.operator.OperatorDescription
at com.rapidminer.tools.OperatorService.parseOperators(OperatorService.java:354)
at com.rapidminer.tools.OperatorService.parseOperators(OperatorService.java:346)
at com.rapidminer.tools.OperatorService.parseOperators(OperatorService.java:346)
at com.rapidminer.tools.OperatorService.parseOperators(OperatorService.java:320)
at com.rapidminer.tools.OperatorService.registerOperators(OperatorService.java:267)
at com.rapidminer.tools.OperatorService.registerOperators(OperatorService.java:239)
at com.rapidminer.tools.OperatorService.init(OperatorService.java:133)
at com.rapidminer.RapidMiner.init(RapidMiner.java:638)
at com.rapidminer.RapidMiner.init(RapidMiner.java:573)
at rm.CSVDataLoader.rmCSVLoader(CSVDataLoader.java:17)
[warn] com.rapidminer - Cannot create operator description: RapidMiner Core : x_validation
java.lang.NoClassDefFoundError: Could not initialize class com.rapidminer.operator.OperatorDescription
at com.rapidminer.tools.OperatorService.parseOperators(OperatorService.java:354)
at com.rapidminer.tools.OperatorService.parseOperators(OperatorService.java:346)
at com.rapidminer.tools.OperatorService.parseOperators(OperatorService.java:346)
at com.rapidminer.tools.OperatorService.parseOperators(OperatorService.java:320)
at com.rapidminer.tools.OperatorService.registerOperators(OperatorService.java:267)
at com.rapidminer.tools.OperatorService.registerOperators(OperatorService.java:239)
at com.rapidminer.tools.OperatorService.init(OperatorService.java:133)
at com.rapidminer.RapidMiner.init(RapidMiner.java:638)
at com.rapidminer.RapidMiner.init(RapidMiner.java:573)
at rm.CSVDataLoader.rmCSVLoader(CSVDataLoader.java:17)
[warn] com.rapidminer - Cannot create operator description: RapidMiner Core : batch_x_validation
java.lang.NoClassDefFoundError: Could not initialize class com.rapidminer.operator.OperatorDescription
at com.rapidminer.tools.OperatorService.parseOperators(OperatorService.java:354)
at com.rapidminer.tools.OperatorService.parseOperators(OperatorService.java:346)
at com.rapidminer.tools.OperatorService.parseOperators(OperatorService.java:346)
at com.rapidminer.tools.OperatorService.parseOperators(OperatorService.java:320)
at com.rapidminer.tools.OperatorService.registerOperators(OperatorService.java:267)
at com.rapidminer.tools.OperatorService.registerOperators(OperatorService.java:239)
at com.rapidminer.tools.OperatorService.init(OperatorService.java:133)
at com.rapidminer.RapidMiner.init(RapidMiner.java:638)
at com.rapidminer.RapidMiner.init(RapidMiner.java:573)
at rm.CSVDataLoader.rmCSVLoader(CSVDataLoader.java:17)
[warn] com.rapidminer - Cannot create operator description: RapidMiner Core : retrieve
java.lang.NoClassDefFoundError: Could not initialize class com.rapidminer.operator.OperatorDescription
at com.rapidminer.tools.OperatorService.parseOperators(OperatorService.java:354)
at com.rapidminer.tools.OperatorService.parseOperators(OperatorService.java:346)
at com.rapidminer.tools.OperatorService.parseOperators(OperatorService.java:346)
at com.rapidminer.tools.OperatorService.parseOperators(OperatorService.java:320)
at com.rapidminer.tools.OperatorService.registerOperators(OperatorService.java:267)
at com.rapidminer.tools.OperatorService.registerOperators(OperatorService.java:239)
at com.rapidminer.tools.OperatorService.init(OperatorService.java:133)
at com.rapidminer.RapidMiner.init(RapidMiner.java:638)
at com.rapidminer.RapidMiner.init(RapidMiner.java:573)
at rm.CSVDataLoader.rmCSVLoader(CSVDataLoader.java:17)
[warn] com.rapidminer - Cannot create operator description: RapidMiner Core : store
java.lang.NoClassDefFoundError: Could not initialize class com.rapidminer.operator.OperatorDescription
at com.rapidminer.tools.OperatorService.parseOperators(OperatorService.java:354)
at com.rapidminer.tools.OperatorService.parseOperators(OperatorService.java:346)
at com.rapidminer.tools.OperatorService.parseOperators(OperatorService.java:346)
at com.rapidminer.tools.OperatorService.parseOperators(OperatorService.java:320)
at com.rapidminer.tools.OperatorService.registerOperators(OperatorService.java:267)
at com.rapidminer.tools.OperatorService.registerOperators(OperatorService.java:239)
at com.rapidminer.tools.OperatorService.init(OperatorService.java:133)
at com.rapidminer.RapidMiner.init(RapidMiner.java:638)
at com.rapidminer.RapidMiner.init(RapidMiner.java:573)
at rm.CSVDataLoader.rmCSVLoader(CSVDataLoader.java:17)
[warn] com.rapidminer - Cannot create operator description: RapidMiner Core : rename_repository_entry
java.lang.NoClassDefFoundError: Could not initialize class com.rapidminer.operator.OperatorDescription
at com.rapidminer.tools.OperatorService.parseOperators(OperatorService.java:354)
at com.rapidminer.tools.OperatorService.parseOperators(OperatorService.java:346)
at com.rapidminer.tools.OperatorService.parseOperators(OperatorService.java:346)
at com.rapidminer.tools.OperatorService.parseOperators(OperatorService.java:320)
at com.rapidminer.tools.OperatorService.registerOperators(OperatorService.java:267)
at com.rapidminer.tools.OperatorService.registerOperators(OperatorService.java:239)
at com.rapidminer.tools.OperatorService.init(OperatorService.java:133)
at com.rapidminer.RapidMiner.init(RapidMiner.java:638)
at com.rapidminer.RapidMiner.init(RapidMiner.java:573)
at rm.CSVDataLoader.rmCSVLoader(CSVDataLoader.java:17)
[warn] com.rapidminer - Cannot create operator description: RapidMiner Core : copy_repository_entry
java.lang.NoClassDefFoundError: Could not initialize class com.rapidminer.operator.OperatorDescription
at com.rapidminer.tools.OperatorService.parseOperators(OperatorService.java:354)
at com.rapidminer.tools.OperatorService.parseOperators(OperatorService.java:346)
at com.rapidminer.tools.OperatorService.parseOperators(OperatorService.java:346)
at com.rapidminer.tools.OperatorService.parseOperators(OperatorService.java:320)
at com.rapidminer.tools.OperatorService.registerOperators(OperatorService.java:267)
at com.rapidminer.tools.OperatorService.registerOperators(OperatorService.java:239)
at com.rapidminer.tools.OperatorService.init(OperatorService.java:133)
at com.rapidminer.RapidMiner.init(RapidMiner.java:638)
at com.rapidminer.RapidMiner.init(RapidMiner.java:573)
at rm.CSVDataLoader.rmCSVLoader(CSVDataLoader.java:17)
[warn] com.rapidminer - Cannot create operator description: RapidMiner Core : move_repository_entry
java.lang.NoClassDefFoundError: Could not initialize class com.rapidminer.operator.OperatorDescription
at com.rapidminer.tools.OperatorService.parseOperators(OperatorService.java:354)
at com.rapidminer.tools.OperatorService.parseOperators(OperatorService.java:346)
at com.rapidminer.tools.OperatorService.parseOperators(OperatorService.java:346)
at com.rapidminer.tools.OperatorService.parseOperators(OperatorService.java:320)
at com.rapidminer.tools.OperatorService.registerOperators(OperatorService.java:267)
at com.rapidminer.tools.OperatorService.registerOperators(OperatorService.java:239)
at com.rapidminer.tools.OperatorService.init(OperatorService.java:133)
at com.rapidminer.RapidMiner.init(RapidMiner.java:638)
at com.rapidminer.RapidMiner.init(RapidMiner.java:573)
at rm.CSVDataLoader.rmCSVLoader(CSVDataLoader.java:17)
[warn] com.rapidminer - Cannot create operator description: RapidMiner Core : delete_repository_entry
java.lang.NoClassDefFoundError: Could not initialize class com.rapidminer.operator.OperatorDescription
at com.rapidminer.tools.OperatorService.parseOperators(OperatorService.java:354)
at com.rapidminer.tools.OperatorService.parseOperators(OperatorService.java:346)

Answers

  • Marco_BoeckMarco_Boeck Administrator, Moderator, Employee-RapidMiner, Member, University Professor Posts: 1,996 RM Engineering

    Hi,

     

    I think the problem starts earlier. Is there a way for you to send me the complete log?

     

    Regards,

    Marco

  • ga63geqga63geq Member Posts: 4 Contributor I

    Here is the link to complete stackTrace: https://gist.github.com/Prateek057/075a8e3b046d25fccce8806b10ab0af2. 

    Please get back to me as soon as possible.

    Currrently I am evaluating between different tools for Machine Learning for Architecture Document Analysis. Its in your best interest. :)

    Thanks,

    Prateek

  • Marco_BoeckMarco_Boeck Administrator, Moderator, Employee-RapidMiner, Member, University Professor Posts: 1,996 RM Engineering

    Hi,

     

    without knowing your complete setup (i.e. the IDE project settings/gradle settings), this is very hard to answer. The assortment of errors looks quite strange and is nothing you would get with a vanilla integration of just Studio into your app. Did that already work and this is now your second step which fails?


    Some general remarks as well:

    • Don't load extensions while integrating RM Studio as a library unless you have an OEM license that allows it
    • Set Studio to a SNAPSHOT version to disable security checks

     

    Regards,

    Marco

  • ga63geqga63geq Member Posts: 4 Contributor I

    Hello Marco, 

     

    Yes, you are write. it does seem like a vanilla inegration. I figured this would be the case from your security notes. 

    I have things that might help me to get to a point where as a developer I can use RM in my applicatiob. 

    First, I have the below setting in build.sbt the following state added as dependency. 

    "com.rapidminer.studio" % "rapidminer-studio-core" % "7.3.0"

     Secondly, I have the following lines for resolving the above dependency. 

    resolvers += "rapidminer-studio-core" at "https://maven.rapidminer.com/content/groups/public/"

    With this I have proper librabries from RM. However what I see to be the issue might be the security configs from RM itself. 

    Hence, I think I need to change the first setting to a SNAPSHOT version, as you mentioned.

     

    Now from my limited understanding I know that the snapshot version is usually the one that you build locally. However I would like to know if the snapshot version could be available in your repository and what version of snapshot is available ? 

     

    Thank you for your support, Please let me know if you need anything else. 

     

    Regards,

    Prateek 

     

  • Marco_BoeckMarco_Boeck Administrator, Moderator, Employee-RapidMiner, Member, University Professor Posts: 1,996 RM Engineering

    Hi,

     

    no we do not offer public snapshots as far as I'm aware. You can build them yourself via "gradle pJPTML".

     

    Regards,

    Marco

  • ga63geqga63geq Member Posts: 4 Contributor I

    Hello Marco,

     

    Sorry I dont seem to understand how to do this. I get following error when I try to build a snapshot version of the source. 

    * What went wrong:
    A problem occurred configuring root project 'rapidminer-studio'.
    > Extension of type 'DefaultPublishingExtension' does not exist. Currently registered extension types: [ExtraPropertiesExtension, DefaultArtifactPublicationSet, ReportingExtension, EclipseModel, IdeaModel, PublishingExtension, PublishingExtension, JacocoPluginExtension]

    Please help me.

     

    Regards,

    Prateek

  • ralph_brecheiseralph_brecheise Member Posts: 17 Maven

    Hi,

     

    I just cloned the RapidMiner Studio Github repository and I'm trying to build the project using "gradlew jar" as described in the Github pages. I'm also seeing the above-mentioned error (see below).

     

    Is this source version broken somehow?

     

    Cheers, Ralph

    ===========

    ~/Develop/rapidminer-studio/ ./gradlew jar

     

    > Configure project :

    The Task.leftShift(Closure) method has been deprecated and is scheduled to be removed in Gradle 5.0. Please use Task.doLast(Action) instead.

            at build_5bvpu4cev94a8juwhtjt4y4tl.run(/Users/Ralph/Develop/rapidminer-studio/build.gradle:12)

     

     

    FAILURE: Build failed with an exception.

     

    * What went wrong:

    A problem occurred configuring root project 'rapidminer-studio'.

    > Extension of type 'DefaultPublishingExtension' does not exist. Currently registered extension types: [ExtraPropertiesExtension, DefaultArtifactPublicationSet, ReportingExtension, EclipseModel, IdeaModel, PublishingExtension, PublishingExtension, JacocoPluginExtension]

     

    * Try:

    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

     

    BUILD FAILED in 0s

Sign In or Register to comment.