Skip to main content

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

In general, replace org.mortbay with org.eclipse... That's a good place to start. You may need to do some additional refactoring besides that, too.


-- 
Lobos Studios - Website and Mobile App Design & Development; IT Support; Computer Maintenance
Toll Free  877.919.4WEB - Apple Valley 760.684.8859 - Los Angeles 310.945.2410 - Cleveland 216.242.4010
www.LobosStudios.com * www.facebook.com/LobosStudios * @LobosStudios


On Aug 2, 2015, at 10:13, Arun Kumar <arunkumarstay@xxxxxxxxx> wrote:

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
_______________________________________________
jetty-users mailing list
jetty-users@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/jetty-users

Back to the top