Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Jetty Server Migration from 5.1.1 to Jetty 9(Help in Migration from Jetty5.1.1 to Jetty 9)
Jetty Server Migration from 5.1.1 to Jetty 9 [message #1703502] Sat, 01 August 2015 15:56 Go to next message
arun Kumar is currently offline arun KumarFriend
Messages: 1
Registered: August 2015
Junior Member
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 (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 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 ?.

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


Thanks,
Arun
Re: Jetty Server Migration from 5.1.1 to Jetty 9 [message #1703528 is a reply to message #1703502] Sun, 02 August 2015 15:01 Go to previous message
Russell Bateman is currently offline Russell BatemanFriend
Messages: 3799
Registered: July 2009
Location: Provo, Utah, USA
Senior Member

On 08/01/2015 12:03 PM, arun Kumar wrote:
> 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
> (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 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 ?.
>
> Is the procedure I'm following is correct for Jetty 9 ?.
>
>
> Thanks,
> Arun

The Jetty project uses a mailing list for their forum. You'll get more
and better help there.
Previous Topic:Export WAR file menu item
Next Topic:JavaFx Project Profile
Goto Forum:
  


Current Time: Sat Sep 21 21:19:40 GMT 2019

Powered by FUDForum. Page generated in 0.02699 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top