-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hello World Example Fails to Run #11893
Comments
We need to get rid of the "-SNAPSHOT" portion of that example. Use |
When I use that version and run the example as-is, I get the following error:
|
@LovingSalamander oops, looks like that documentation has not been ported to jetty-12. A better guide is to look at the javadoc, particularly for eg the |
Jetty version(s)
jetty-12
Jetty Environment
core?
Java version/vendor
(use: java -version)
openjdk 22.0.1 2024-04-16
OpenJDK Runtime Environment Temurin-22.0.1+8 (build 22.0.1+8)
OpenJDK 64-Bit Server VM Temurin-22.0.1+8 (build 22.0.1+8, mixed mode)
OS type/version
macOS 14.4.1 (23E224)
Description
Following the steps of https://jetty.org/docs/jetty/12/programming-guide/maven-jetty/jetty-maven-helloworld.html#configuring-embedded-jetty-with-maven gives error:
I looked up the latest version of this artifact at https://mvnrepository.com/artifact/org.eclipse.jetty/jetty-server/12.0.10, so I tried using
12.0.10
instead of12.0.10-SNAPSHOT
, and got a new error:How to reproduce?
Follow the steps of the tutorial
The text was updated successfully, but these errors were encountered: