[
https://issues.apache.org/jira/browse/TIKA-4750?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18086623#comment-18086623
]
Hudson commented on TIKA-4750:
------------------------------
SUCCESS: Integrated in Jenkins build Tika » tika-main-jdk17 #1412 (See
[https://ci-builds.apache.org/job/Tika/job/tika-main-jdk17/1412/])
TIKA-4750 - improve docs (#2879) (github:
[https://github.com/apache/tika/commit/1849dc7bbd32cd9722f672be7411151eb4009456])
* (edit) docs/modules/ROOT/pages/configuration/index.adoc
* (edit) docs/modules/ROOT/nav.adoc
* (edit) docs/modules/ROOT/pages/configuration/parsers/tess4j-parser.adoc
* (edit)
tika-parsers/tika-parsers-ml/tika-parser-tess4j-module/src/main/java/org/apache/tika/parser/ocr/tess4j/Tess4JParser.java
> tika-4.0.0-alpha1 - tess4j-parser not available
> -----------------------------------------------
>
> Key: TIKA-4750
> URL: https://issues.apache.org/jira/browse/TIKA-4750
> Project: Tika
> Issue Type: Bug
> Affects Versions: 4.0.0
> Reporter: Adrian Bird
> Priority: Major
>
> I've tried to use the 'tess4j-parser' but get the following error:
>
> {noformat}
> DEBUG [main] 09:09:06,858
> org.apache.tika.config.loader.TikaObjectMapperFactory Loaded component
> registry: parse-context
> Exception in thread "main" org.apache.tika.exception.TikaConfigException:
> Unknown component type: 'tess4j-parser'
> at
> org.apache.tika.config.loader.ComponentInstantiator.instantiate(ComponentInstantiator.java:179)
> at
> org.apache.tika.config.loader.LoaderContext.instantiate(LoaderContext.java:110)
> at
> org.apache.tika.config.loader.ParserLoader.loadComponent(ParserLoader.java:61)
> at
> org.apache.tika.config.loader.ParserLoader.loadComponent(ParserLoader.java:46)
> at
> org.apache.tika.config.loader.AbstractSpiComponentLoader.load(AbstractSpiComponentLoader.java:107)
> at
> org.apache.tika.config.loader.TikaLoader.loadComponent(TikaLoader.java:683)
> at org.apache.tika.config.loader.TikaLoader.get(TikaLoader.java:647)
> at
> org.apache.tika.config.loader.TikaLoader.loadParsers(TikaLoader.java:247)
> at
> org.apache.tika.config.loader.TikaLoader.loadAutoDetectParser(TikaLoader.java:379)
> at org.apache.tika.cli.TikaCLI.configure(TikaCLI.java:901)
> at org.apache.tika.cli.TikaCLI.process(TikaCLI.java:532)
> at org.apache.tika.cli.TikaCLI.main(TikaCLI.java:267)
> Caused by: java.lang.ClassNotFoundException: Component 'tess4j-parser' is not
> registered. Components must be registered via @TikaComponent annotation or
> .idx file. Arbitrary class names are not allowed for security reasons.
> at
> org.apache.tika.serialization.ComponentNameResolver.resolveClass(ComponentNameResolver.java:116)
> at
> org.apache.tika.config.loader.ComponentInstantiator.instantiate(ComponentInstantiator.java:176)
> ... 11 more
> {noformat}
> FYI I've probably done all the testing I'm going to with this version.
>
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)