Alexander Skwar created TIKA-4407: ------------------------------------- Summary: Docker: Could not find or load main class org.apache.tika.server.core.TikaServerCli Key: TIKA-4407 URL: https://issues.apache.org/jira/browse/TIKA-4407 Project: Tika Issue Type: Bug Components: docker Affects Versions: 3.1.0 Environment: {noformat} askwar@mail ~> lsb_release -a No LSB modules are available. Distributor ID: Debian Description: Debian GNU/Linux 12 (bookworm) Release: 12 Codename: bookworm {noformat}
{noformat} askwar@mail ~> docker --version Docker version 27.3.1, build ce12230 {noformat} Reporter: Alexander Skwar I'd like to use Tika in a Docker container based on what's on [https://github.com/apache/tika-docker]. So I cloned it and tried to use it; commit: e32a05c File: [https://github.com/apache/tika-docker/blob/e32a05c/docker-compose-tika-customocr.yml] Trying to start it: {code:sh} askwar@mail /o/t/tika-docker> sudo -u container docker compose -f docker-compose-tika-customocr.fixed.yml up WARN[0000] /opt/tika/tika-docker/docker-compose-tika-customocr.fixed.yml: the attribute `version` is obsolete, it will be ignored, please remove it to avoid potential confusion [+] Running 1/0 ✔ Container tika-docker-tika-1 Created 0.0s Attaching to tika-1 tika-1 | Error: Could not find or load main class org.apache.tika.server.core.TikaServerCli tika-1 | Caused by: java.lang.ClassNotFoundException: org.apache.tika.server.core.TikaServerCli ... {code} That also happens with TAG=3.0.0.0. Searching the net for that error message, it seems that this is a reoccuring issue? How to fix, please? -- This message was sent by Atlassian Jira (v8.20.10#820010)