[ https://issues.apache.org/jira/browse/TIKA-888?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13242425#comment-13242425 ]
Chris A. Mattmann commented on TIKA-888: ---------------------------------------- bq. That's exactly not possible. SPI collects all /META-INF/services/org.apache.tika.parser.Parser it can find on classpath and collects all Parsers it can find. Removin parsers from one file does not help (order of classpath does not matter), as the SPI builds a set of all collected parsers from all META-INF files. Thanks for the clarification Uwe. I'm not an expert on the SPI, so I trust ya! :) Especially since you just implemented it yourself, heh. bq. If that doesn't work (i.e. you get an error when starting Tika), we should fix Tika to catch the problem. +1. I'll take a look and try to reproduce and just make Tika swallow the ClassNotFoundException and happily move along. > NetCDF parser uses Java 6 JAR file and test/compilation fails with Java 1.5, > although TIKA is Java 1.5 > ------------------------------------------------------------------------------------------------------ > > Key: TIKA-888 > URL: https://issues.apache.org/jira/browse/TIKA-888 > Project: Tika > Issue Type: Bug > Components: parser > Affects Versions: 1.0 > Reporter: Uwe Schindler > Assignee: Chris A. Mattmann > > Lucene/Solr developers ran this tool before releasing Lucene/Solr 3.6 (Solr > 3.6 is still required to run on Java 1.5, see SOLR-3295): > http://code.google.com/p/versioncheck/ > {noformat} > Major.Minor Version : 50.0 JAVA compatibility : Java 1.6 > platform: 45.3-50.0 > Number of classes : 60 > Classes are: > c:\Work\lucene-solr\.\solr\contrib\extraction\lib\netcdf-4.2-min.jar [:] > ucar/unidata/geoloc/Bearing.class > ... > {noformat} > TIKA should use a 1.5 version of this class and especially do some Java 5 > tests before releasing (as it's build dependencies says, it's minimum Java5). > I tried to compile and run TIKA tests with Java 1.5 -> crash (Invalid class > file format). -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira