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

Richard Robinson commented on SOLR-4645:
----------------------------------------

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-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to