Adrian Bird created TIKA-4733:
---------------------------------
Summary: 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
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)