-
Notifications
You must be signed in to change notification settings - Fork 40
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Type mismatch: cannot convert from CSVParser to Iterable<CSVRecord> #125
Comments
Hi @ChemsEddineBerbegue, |
Hi, |
Can you provide a code example (of your code) and the scenario in which your build fails? |
HI, I never worked with Maven before, I took all the separated projects and merge them in just one SRC folder than put them in eclipse project adding the required jar files and it is done, I used to work with similar projects with the similar approache it worked fine except rival. |
Hi @ChemsEddineBerbegue, Best, |
I suggest you try importing it as a Maven project and use Maven to build it. This simply appears to be an artefact of attempting to build RiVal in an unsupported way (at least by us). To see how to use RiVal as a Maven dependency, please have a look at the rival-examples sub-project |
I am agree that there is certainly a conflict with the rest of jar files, thank you |
Hi @ChemsEddineBerbegue , I faced recently this problem you issued some time ago and found a solution using Maven. The thing is that there is a conflict with the artifact solr-commons-csv from mahour which, in my build, was producing the same error as the one you reported (mainly due to that artifact importing a different version of the commons-csv module).
Hope this helps. |
Btw, @alansaid, if we check that this solution does not break any of the mahout code, we should add it to the release ASAP. |
Odd that it wasn't causing errors before. |
What's the status current status of this? |
Hi, I am using Eclipse as a development environment , in the class UIPParser I am not able to resolve the error above even with all tested common-csv jar files, the lines are ;
if (isHasHeader()) {
records = CSVFormat.EXCEL.withDelimiter(getDelimiter()).withHeader().parse(in);
} else {
records = CSVFormat.EXCEL.withDelimiter(getDelimiter()).parse(in);
}
(51 and 53)
The text was updated successfully, but these errors were encountered: