Skip to main content



      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 11:56 Go to next message
Eclipse UserFriend
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 11:01 Go to previous message
Eclipse UserFriend
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: Sun Jul 06 11:05:11 EDT 2025

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

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

Back to the top