You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tika.apache.org by "Nick Burch (JIRA)" <ji...@apache.org> on 2014/02/13 17:13:23 UTC

[jira] [Commented] (TIKA-1240) IncompatibleClassChangeError with -> new Tika().parseToString(stream);

    [ https://issues.apache.org/jira/browse/TIKA-1240?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13900457#comment-13900457 ] 

Nick Burch commented on TIKA-1240:
----------------------------------

Make sure you only have one copy of the Tika jars on your classpath, not multiple versions, and you have the dependencies for that version of Tika

> IncompatibleClassChangeError with ->  new Tika().parseToString(stream);
> -----------------------------------------------------------------------
>
>                 Key: TIKA-1240
>                 URL: https://issues.apache.org/jira/browse/TIKA-1240
>             Project: Tika
>          Issue Type: Task
>          Components: parser
>            Reporter: sudheshna iyer
>            Priority: Critical
>
> I am receiving the following error from :  new Tika().parseToString(stream);
> Exception in thread "main" java.lang.IncompatibleClassChangeError: class org.apache.tika.parser.asm.XHTMLClassVisitor has interface org.objectweb.asm.ClassVisitor as super class
> At first I thought it is a problem with stream that is passed in. But it is very random. File that worked started erroring out with the above exception.
> Please help.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)