Reputation: 1677
I used the "http://opencsv.sourceforge.net/#maven-integration" maven dependency for opencsv as follows:
<dependency>
<groupId>net.sf.opencsv</groupId>
<artifactId>opencsv</artifactId>
<version>2.0</version>
</dependency>
But I am unable to find the class au.com.bytecode.opencsv.bean.BeanToCsv
from the resolved dependency. Refer here:
http://opencsv.sourceforge.net/apidocs/au/com/bytecode/opencsv/bean/BeanToCsv.html
I even tried 2.1, 2.2, 2.3 versions. Unable to find version 2.4 on maven repo.
Can anybody confirm if this class belogns to new 2.4 snapshot api? Can't see any 'Since' annotation from the javadocs.
Upvotes: 0
Views: 1701
Reputation: 5684
The docs delivered with version 2.0 state that there is no au.com.bytecode.opencsv.bean.BeanToCsv
class. This is the class summary of the package au.com.bytecode.opencsv.bean
:
Additionally version 2.4-SNAPSHOT is not the current version, but version 3.1. I think the developer does not maintain the Maven repository anymore. You have two options:
I would prefer option 1, because I don't know who uploaded the library to Maven Central.
Upvotes: 2