[
https://issues.apache.org/jira/browse/TIKA-4733?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18082321#comment-18082321
]
Tim Allison commented on TIKA-4733:
-----------------------------------
So, y, on the one hand this is a claude problem, but this was really a me
problem. I completely botched the release artifacts for alpha-1 by basically
keeping things as they were in 3x. I _think_ I fixed most of these problems
(after the alpha-1 release, sorry, on
https://issues.apache.org/jira/browse/TIKA-4723 and
https://issues.apache.org/jira/browse/TIKA-4725 ).
We moved away from shaded jars (where possible) on 4.x and are now shipping (or
intending to ship) zips for tika-app and tika-server standard.
You can grab tika-app.zip here:
[https://repo1.maven.org/maven2/org/apache/tika/tika-app/4.0.0-alpha-1/tika-app-4.0.0-alpha-1.zip]
As Homer said about beer – cause of and solution to all of life's problems —
so, too, Claude made further recommendations for getting the release artifacts
right. I'll open a PR against this issue shortly. That adds some extra checks
and dramatically improves the documentation.
I'm sorry for the noise.
> 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: Major
>
> 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)