AlreadyRegisteredException?!
Hello,
I was ready to launch my application for the first time and I got a com/rapidminer/license/AlreadyRegisteredException. Now, since I'm developing on the very same machine I've got RapidMiner installed on, what is he complaining for?!? RapidMiner is initialized like in the FAQ post, btw.
Thank you!
I was ready to launch my application for the first time and I got a com/rapidminer/license/AlreadyRegisteredException. Now, since I'm developing on the very same machine I've got RapidMiner installed on, what is he complaining for?!? RapidMiner is initialized like in the FAQ post, btw.
Thank you!
Tagged:
0
Best Answer
-
adrian_wilke Member Posts: 1
Contributor I
Hi there,
I had the same problem building RapidMiner 7.4.0 on Kubuntu Linux.
- git clone https://github.com/rapidminer/rapidminer-studio.git
- ... played around ...
- git reset --hard ; git clean -fxd
- cd .. ; mv rapidminer-studio rapidminer-studio-core ; cd rapidminer-studio-core
- chmod +x gradlew ; ./gradlew jar
- java -cp build/libs/rapidminer-studio-core-7.4.0.jar com.rapidminer.RapidMiner
-> java.lang.NoClassDefFoundError: com/rapidminer/license/AlreadyRegisteredException
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.
2
Answers
we can simply talk to find a solution
Best,
Martin
Dortmund, Germany
Can you please post the entire stacktrace? Your code that triggers it would be helpful as well.
Regards,
Marco
Here is the trace when compiled jar is imported into a new project: Program fails when setting the execution mode: Same problem is present in RM6.5. Is the error related to a license you mentioned before?
thank you for the feedback! Could you please also post the contents of your build.gradle file? I cannot reproduce the problem on my end so far
Regards,
Marco
Next step was was to make a process with the compiled rapidminer jar. The problem like described by Sguish was the exception described in the previous post.
Here are some config files:
build.gradle
gradle.properties
props.gradle
ps: I am missing something or there is no option how to attach a pic or file in the forum?
My stacktrace is very similar to Merto's: If I comment the RapidMiner init() stuff, of course, it works.
have maybe anyone of you found a solution for this issue?
sadly I don't know why this happens. I have forwarded the issue to the appropriate team.
Regards,
Marco
Hopefully this preview guide should solve the mentioned problems.