I'm trying to run an Open Liberty server on Ubuntu 18.04, but getting the following error when when executing mvn liberty:dev
:
Failed to execute goal io.openliberty.tools:liberty-maven-plugin:3.7.1:dev (default-
cli) on project hello-world: org.apache.maven.plugin.MojoExecutionException: Unable
to resolve artifact: io.openliberty.features:io.openliberty.jakarta.persistence.base-
3.1:23.0.0.3: Failure to find
io.openliberty.features:io.openliberty.jakarta.persistence.base-3.1:esa:23.0.0.3 in
https://repo.maven.apache.org/maven2 was cached in the local repository, resolution
will not be reattempted until the update interval of central has elapsed or updates
are forced -> [Help 1]
What I have installed:
$ java --version
openjdk 11.0.18 2023-01-17
OpenJDK Runtime Environment (build 11.0.18+10-post-Ubuntu-0ubuntu118.04.1)
OpenJDK 64-Bit Server VM (build 11.0.18+10-post-Ubuntu-0ubuntu118.04.1, mixed mode,
sharing)
$ mvn -v
Apache Maven 3.6.0
Maven home: /usr/share/maven
Java version: 11.0.18, vendor: Ubuntu, runtime: /usr/lib/jvm/java-11-openjdk-amd64
Default locale: cs_CZ, platform encoding: UTF-8
OS name: "linux", version: "5.4.0-146-generic", arch: "amd64", family: "unix"
I was able to start the server just fine yesterday and I have no recollection of changing anything since then. Can't figure out how to fix this and would appreciate some help.