title: WARNING: org.xerial's sqlite-jdbc is not loaded
body: <p>I am using <code>Apache tika</code> to check file extensions.</p>
  
  <p>But I got this warning when initializing the TikaConfig object.</p>
  
  <pre><code>org.apache.tika.config.InitializableProblemHandler$3 handleInitializableProblem
  WARNING: org.xerial's sqlite-jdbc is not loaded.
  Please provide the jar on your classpath to parse sqlite files.
  See tika-parsers/pom.xml for the correct version.
  </code></pre>
  
  <p>To initial config </p>
  
  <pre><code>public static TikaConfig getTikaConfig() {
          TikaConfig tikaConfig = null;
          try {
              return new TikaConfig();
          } catch (TikaException | IOException e) {
              // TODO Auto-generated catch block
              e.printStackTrace();
          }
          return tikaConfig;
      }
  </code></pre>
  
  <p>and use this object like following</p>
  
  <pre><code>public static final TikaConfig tikaConfig = getTikaConfig();
  MediaType mediaType = tikaConfig.getDetector()
                                          .detect(TikaInputStream
                                                      .get(item.getInputStream()), new Metadata());
                  MimeType mimeType = tikaConfig.getMimeRepository().forName(mediaType.toString());
                  String extension =  mimeType.getExtension().split("\\.")[1];
  </code></pre>
  
  <p>My question is how to get rid of this warning. </p>
  
  <p>PS: Gradle dependency for apache tika is</p>
  
  <pre><code>compile group: 'org.apache.tika', name: 'tika-core', version: '1.24.1'
  runtime group: 'org.apache.tika', name: 'tika-parsers' version: '1.24.1'
  </code></pre>