On Sat, Jan 23, 2016 at 9:34 PM, Stephan Becker
<[email protected]> wrote:
> Exception in thread "main" java.lang.NoSuchMethodError:
> org.apache.commons.csv.CSVFormat.withIgnoreSurroundingSpaces()Lorg/apache/commons/csv/CSVFormat;

Looks like tika-app-1.11 is using commons-csv 1.0 [1] while Oak uses
1.1 and CSVFormat.withIgnoreSurroundingSpaces is added in v1.1. We
tested it earlier with Tika 1.6. So you can try adding commons-csv jar
as the first one in the classpath

java -cp commons-csv-1.1.jar:tika-app-1.11.jar:oak-run-1.2.4.jar

Chetan Mehrotra
[1]http://svn.apache.org/viewvc/tika/tags/1.11-rc1/tika-parsers/pom.xml?view=markup#l328

Reply via email to