I am trying to determine the correct version of jetty-servlets to install. I have installed GeoServer 2.6-RC1.

Now I need to install jetty-servlets.jar to enable CORS as mentioned here:


It directs you to download the jetty-servlet here:


Which is the correct version to download if I have installed GeoServer 2.6-RC1?

2 Answers 2


I found an amazing and easy solution to determine the correct version of jetty-servlets.jar for GeoServer.

The solution is to open the jetty directory

  • Windows: C:\Program Files (x86)\Boundless\OpenGeo\jetty\lib
  • OS X: /Users//Library/Application Support/GeoServer/jetty/lib

You will find some jar files ends with the jetty version before the extension.

(like: jetty-client-7.6.13.v20130916.jar) for Geoserver 2.8.

  • Remember the version number from the file (7.6.13.v20130916) and browes to this URL and select the matching version to the version we got from the last step.

  • Choose the file (like: jetty-servlets-7.6.13.v20130916.jar ) no other file needed.

Paste the downloaded jar into jetty directory


I found the correct version! It is jetty-servlets-9.2.2.v20140723.jar.

  • 2
    How did you find it? Is there a methodology to find the jetty version of the geoserver?
    – slevin
    Oct 2, 2015 at 10:24

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.