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

"Type not found error when using TokenSequence class"

drstevekramerdrstevekramer Member Posts: 7 Contributor II
edited June 2019 in Help
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
Tagged:

Answers

  • drstevekramerdrstevekramer Member Posts: 7 Contributor II
    PROBLEM RESOLVED:
    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.

Sign In or Register to comment.