You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Richard Robinson (JIRA)" <ji...@apache.org> on 2013/04/06 00:11:16 UTC

[jira] [Comment Edited] (SOLR-4645) Missing Adobe XMP library can abort DataImportHandler process

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

Richard Robinson edited comment on SOLR-4645 at 4/5/13 10:10 PM:
-----------------------------------------------------------------

I was getting the same error. Using solr 4.20. When I tried to add a JPEG to the index, which JPEG has an XMP field defined (e.g. Copyright), solr threw a NoClassDefFoundError for com.adobe.xmp.XMPException. 

The solution was to download XMP Java library source from Adobe at http://www.adobe.com/devnet/xmp/library/eula-xmp-library-java.html 

Ant build the source and then copy the resultant xmlcore.jar into contrib/extraction/lib

Then restart solr.

                
      was (Author: rrobinso@redhat.com):
    I was getting the same error. Using solr 4.20. When I tried to add a JPEG to the index, which JPEG has an XMP field defined (e.g. Copyright), solr threw a NoClassDefFoundError for com.adobe.xmp.XMPException. 

The solution was to download XMP Java library source from Adobe at http://www.adobe.com/devnet/xmp/library/eula-xmp-library-java.html 

Ant build the source and then copy the resultant xmlcore.jar into contrib/extract/lib

Then restart solr.

                  
> Missing Adobe XMP library can abort DataImportHandler process
> -------------------------------------------------------------
>
>                 Key: SOLR-4645
>                 URL: https://issues.apache.org/jira/browse/SOLR-4645
>             Project: Solr
>          Issue Type: Bug
>          Components: contrib - DataImportHandler, contrib - Solr Cell (Tika extraction)
>    Affects Versions: 4.2
>            Reporter: Alexandre Rafalovitch
>            Priority: Minor
>             Fix For: 5.0
>
>
> Solr distribution is missing Adobe XMP library ( http://www.adobe.com/devnet/xmp.html ). In particular code path, DIH+Tika tries to load an XMPException and fails with ClassNotFound. The library is present in Tika's distribution.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org