Jetty has moved!
Jetty is a project at the Eclipse Foundation.
Contact the core Jetty developers at
private support for your internal/customer projects ... custom extensions and distributions ... versioned snapshots for indefinite support ...
scalability guidance for your apps and Ajax/Comet projects ... development services from 1 day to full product delivery
Skip to end of metadata
Go to start of metadata
How to find out the version of Jetty
To get Jetty to print out it's version you can type:
Alternatively, look at the log file. The second line should be the version number in an INFO message. Like this:
Look at the INFO messages printed out by Jetty when the plugin starts up. After any build-related messages from Maven, you should see the following:
[INFO] Starting jetty 6.0-beta14 ...
:INFO: jetty 6.0-beta14
. . .
[INFO] Started Jetty Server
If you want to print out the runtime version of Jetty, you can use the following code snippet: