Skip to content

Commit

Permalink
Use correct path for tika-config.xml
Browse files Browse the repository at this point in the history
  • Loading branch information
FSchumacher committed Jan 15, 2021
1 parent 769b02a commit 84f54b6
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,8 @@ public class ParseCurlCommandAction extends AbstractAction implements MenuCreato

private Tika createTika() {
try {
return new Tika(new TikaConfig(this.getClass().getClassLoader().getResourceAsStream("tika-config.xml")));
return new Tika(new TikaConfig(this.getClass().getClassLoader()
.getResourceAsStream("org/apache/jmeter/protocol/http/gui/action/tika-config.xml")));
} catch (TikaException | IOException | SAXException e) {
return new Tika();
}
Expand Down

0 comments on commit 84f54b6

Please sign in to comment.