A program to recognize and reward our most engaged community members
Hi there,
I had the same problem building RapidMiner 7.4.0 on Kubuntu Linux.
After I manually added the files from
https://maven.rapidminer.com/content/groups/public/com/rapidminer/license/rapidminer-license-api/3.1.0/rapidminer-license-api-3.1.0.jar
to the rapidminer-studio-core-7.4.0.jar, the error message changed to
java.lang.NoClassDefFoundError: com/vlsolutions/swing/docking/ui/DockingUISettings
Seems like the required files are not included in the Jar package.
Exception in thread "main" java.lang.NoClassDefFoundError: com/rapidminer/license/AlreadyRegisteredException at Main.main(Main.java:41) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:497) at com.intellij.rt.execution.application.AppMain.main(AppMain.java:144)Caused by: java.lang.ClassNotFoundException: com.rapidminer.license.AlreadyRegisteredException at java.net.URLClassLoader.findClass(URLClassLoader.java:381) at java.lang.ClassLoader.loadClass(ClassLoader.java:424) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331) at java.lang.ClassLoader.loadClass(ClassLoader.java:357) ... 6 more
public static void main(String[] args) throws OperatorException, RepositoryException, IOException, XMLException { // write your code here System.setProperty("RAPIDMINER_HOME", "C:\\dev\\tools\\rapidminer-studio-master"); RapidMiner.setExecutionMode(RapidMiner.ExecutionMode.COMMAND_LINE); RapidMiner.init(); ...
FAILURE: Build failed with an exception.* What went wrong:Execution failed for task ':jar'.> Cannot create signed jar for rapidminer-studio-master. Missing keystore property.* Try:Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.BUILD FAILED
Exception in thread "main" java.lang.NoClassDefFoundError: com/rapidminer/license/AlreadyRegisteredException at rapidminerstuff.modelCore.init(modelCore.java:126) at rapidminerstuff.TEVTree.init(TEVTree.java:27) at rapidminerstuff.GUIMinerStuff.<init>(GUIMinerStuff.java:26) at rapidminerstuff.RapidMinerStuff.main(RapidMinerStuff.java:21)Caused by: java.lang.ClassNotFoundException: com.rapidminer.license.AlreadyRegisteredException at java.net.URLClassLoader.findClass(URLClassLoader.java:381) at java.lang.ClassLoader.loadClass(ClassLoader.java:424) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331) at java.lang.ClassLoader.loadClass(ClassLoader.java:357) ... 4 moreC:\PATH\executor-snippets\run.xml:53: Java returned: 1BUILD FAILED (total time: 1 second)
Hopefully this preview guide should solve the mentioned problems.