Due to recent updates, all users are required to create an Altair One account to login to the RapidMiner community. Click the Register button to create your account using the same email that you have previously used to login to the RapidMiner community. This will ensure that any previously created content will be synced to your Altair One account. Once you login, you will be asked to provide a username that identifies you to other Community users. Email us at Community with questions.
"Type not found error when using TokenSequence class"
drstevekramer
Member Posts: 7 Contributor II
I'm trying to using the TokenSequence class:
com.rapidminer.operator.TokenSequence
public class TokenSequence
extends com.rapidminer.operator.ResultObjectAdapter
implements edu.udo.cs.wvtool.main.WVTTokenSequence
I am getting this error:
"The type com.rapidminer.operator.ResultObjectAdapter cannot be resolved. It is indirectly referenced from required .class files."
I have added rapidminer-text-4.4.jar to my Eclipse project, and I've specified these imports, among others:
import edu.udo.cs.wvtool.main.WVTDocumentInfo;
import edu.udo.cs.wvtool.main.WVTTokenSequence;
import edu.udo.cs.wvtool.util.TokenEnumeration;
import edu.udo.cs.wvtool.util.WVToolException;
import edu.udo.cs.wvtool.wordlist.WVTWordList;
import com.rapidminer.operator.TokenSequence;
Any ideas of what might be wrong? Where is the ResultObjectAdapter interface defined?
Thanks,
Steve
com.rapidminer.operator.TokenSequence
public class TokenSequence
extends com.rapidminer.operator.ResultObjectAdapter
implements edu.udo.cs.wvtool.main.WVTTokenSequence
I am getting this error:
"The type com.rapidminer.operator.ResultObjectAdapter cannot be resolved. It is indirectly referenced from required .class files."
I have added rapidminer-text-4.4.jar to my Eclipse project, and I've specified these imports, among others:
import edu.udo.cs.wvtool.main.WVTDocumentInfo;
import edu.udo.cs.wvtool.main.WVTTokenSequence;
import edu.udo.cs.wvtool.util.TokenEnumeration;
import edu.udo.cs.wvtool.util.WVToolException;
import edu.udo.cs.wvtool.wordlist.WVTWordList;
import com.rapidminer.operator.TokenSequence;
Any ideas of what might be wrong? Where is the ResultObjectAdapter interface defined?
Thanks,
Steve
Tagged:
0
Answers
Because I'm using only the WVTool classes within the Text plug-in, I had neglected to add the core rapidminer.jar file itself to my project and classpath. Doing that and adding the import statement for com.rapidminer.operator.ResultObjectAdapter fixed my problem.