[
https://issues.apache.org/jira/browse/TIKA-4733?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18082335#comment-18082335
]
Adrian Bird commented on TIKA-4733:
-----------------------------------
Thanks.
I've got the zip and will have a play later, but a quick observation about the
naming consistency, or not, of the jar files in the zips:
tika-app-4.0.0-alpha-1.zip includes tika-app-4.0.0-alpha-1.jar
tika-server-standard-4.0.0-alpha-1-bin.zip includes tika-server.jar.
i.e. the app one includes the version but the server one doesn't.
> tika-4.0.0-alpha1 - cannot find tika-async-cli.jar
> --------------------------------------------------
>
> Key: TIKA-4733
> URL: https://issues.apache.org/jira/browse/TIKA-4733
> Project: Tika
> Issue Type: Bug
> Affects Versions: 4.0.0
> Environment: Windows 11 using Java 17.
> Reporter: Adrian Bird
> Priority: Blocker
>
> I've downloaded the tika-app-4.0.0-alpha-1.jar and the
> tika-4.0.0-alpha-1-src.zip and unzipped the tika-4.0.0-alpha-1-src.zip into
> the same folder as tika-app-4.0.0-alpha-1.jar.
> I can successfully run a simple test but when I tried to extract images from
> a document (--extract) I got this error:
> {code:java}
> Apache Tika 4.0.0-alpha-1
> Exception in thread "main" java.lang.NoClassDefFoundError:
> org/apache/tika/async/cli/TikaAsyncCLI
> at org.apache.tika.cli.TikaCLI.async(TikaCLI.java:311)
> at org.apache.tika.cli.TikaCLI.main(TikaCLI.java:261)
> Caused by: java.lang.ClassNotFoundException:
> org.apache.tika.async.cli.TikaAsyncCLI
> at
> java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:641)
> at
> java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:188)
> at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:525)
> ... 2 more{code}
>
> I also noticed the documentation for [Basic Batch Usage
> |https://tika.apache.org/docs/4.0.0-SNAPSHOT/using-tika/cli/index.html#_basic_batch_usage]
> has this example:
> {code:java}
> java -jar tika-async-cli.jar -i /path/to/input -o /path/to/output{code}
> Where do I get tika-async-cli.jar from?
>
> PS: I added that it affects version 4.0.0 as there was no 'alpha' version
> visible.
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)