Hi Chetan,

thanks, works like a charm!

On Sat, Jan 23, 2016 at 6:18 PM, Chetan Mehrotra <[email protected]>
wrote:

> 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
>



-- 
With kind regards

Mit freundlichen Grüßen

*Stephan Becker* | Senior System Engineer
Netcentric Deutschland GmbH
M D: +49 (0) 175 2238120
Skype: stephanhs.b

[email protected] | www.netcentric.biz
Other disclosures according to §35a GmbhG, §161, 125a HGB:
www.netcentric.biz/imprint.html

Reply via email to