Description
Currently, my application is using the Tika version of 1.27, in the Gradle file we wrote like below to download and use Tika components.
api(group: 'org.apache.tika', name: 'tika-parsers', version: '1.27')
{ // Tika requires a version of jackson that conflicts with other dependencies. exclude group: "com.fasterxml.jackson.core" }but when trying to update to 2.1.0 with the below code. seeing some of the imports are missing.
import org.apache.tika.config.TikaConfig;
import org.apache.tika.detect.Detector;
import org.apache.tika.exception.TikaException;
import org.apache.tika.io.TikaInputStream;
import org.apache.tika.metadata.HttpHeaders;
import org.apache.tika.metadata.Metadata;
import org.apache.tika.metadata.TikaMetadataKeys;
import org.apache.tika.mime.MediaType;
import org.apache.tika.mime.MimeType;
import org.apache.tika.mime.MimeTypeException;
import org.apache.tika.parser.AutoDetectParser;
import org.apache.tika.parser.ParseContext;
Tried with below, causing the above imports missing.
api(group: 'org.apache.tika', name: 'tika-parsers-standard-package', version: '2.1.0')
{ // Tika requires a version of jackson that conflicts with other dependencies. exclude group: "com.fasterxml.jackson.core" }Please let me know what imports I need to change to fix above issues.