Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[jetty-users] Jetty Server Migration from 5.1.1 to Jetty 9

Hi Friends,

I'm migrating a Java application from Jetty Server 5.1.1 to Jetty 9. In the existing project I can see only one jar file related to
Jetty 5(org.mortbay.Jetty 5.1.1) .

I have downloaded Jetty-all -9.0 jar and build the project. But some of the packages in existing code shows compile error since the packages in org.mortbay.Jetty in 5.1 changed to org.eclipse,jetty in version 9.

My code is using some imports like org.mortbay.http.HttpServer, org.mortbay.http.HttpContext. I'm unable to see the similar packages in Jetty-all-9.0.jar.

Also package  'org.mortbay.html'  needs to replace with similar classes in Jetty 9.

Could someone help me to fix these compile errors ?. Which are the new classes and packages in Jetty9?.

Is the procedure I'm following is correct for Jetty 9 ?.


Thanks,
Arun

Back to the top