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
"Building operator in Java: Extension classes are not available."
Last week, I had asked a query to execute a spell correction script in execute script operator. I was not able to do this, because there were some errors in my code and I was not able to debug from the GUI. So, I am planning to create a spell correction operator by creating an operator in Java as mentioned here-How to extend RapidMiner.
The things I did:
1. Included all jar files from RapidMiner Lib folder , (C:\Program Files (x86)\Rapid-I\RapidMiner5\lib ) into the build path of my java project.
2. Started coding using the same guide the link to which is given above.
3. Input for my operator is a Document ( com.rapidminer.operator.text.Document) as in the script.
But, I am not able to use this Document object in this code. Can you tell me why? Where are the text processing jars located?
For using the plugin jars, should we add some other locations to the BuildPath?
Could you please help.
The things I did:
1. Included all jar files from RapidMiner Lib folder , (C:\Program Files (x86)\Rapid-I\RapidMiner5\lib ) into the build path of my java project.
2. Started coding using the same guide the link to which is given above.
3. Input for my operator is a Document ( com.rapidminer.operator.text.Document) as in the script.
But, I am not able to use this Document object in this code. Can you tell me why? Where are the text processing jars located?
For using the plugin jars, should we add some other locations to the BuildPath?
Could you please help.
Tagged:
0
Answers
lib/plugins or .RapidMiner5/managed are the folders where extension .jars are loaded from. If you have the text extension installed, you can find it there. For an extension to depend on another extension though, you need to add a dependency. The code below is for the old Ant build system: Regards,
Marco