Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jetty-dev] upgrade help

Greg (and Joakim earlier),

 

This helped so much, thank you! I was headed down the wrong path with the jetty-all-…-uber.jar, but using the jetty-distribution package was what I should have been using. We are doing embedded work and after taking the cdi*.jar files out of the project and making a couple of tweaks, it looks like things are working much better.

 

Thank you guys for the support!

Brian

 

From: jetty-dev-bounces@xxxxxxxxxxx [mailto:jetty-dev-bounces@xxxxxxxxxxx] On Behalf Of Greg Wilkins
Sent: Thursday, May 11, 2017 1:18 AM
To: Jetty @ Eclipse developer discussion list
Subject: Re: [jetty-dev] upgrade help

 

 

Brian,

 

You should not have to grab updated versions of jars.  If you are doing embedded work , then just use maven and it will resolve dependencies for you or if you want a stand alone server then the jetty-home or jetty-distribution packages come with all the dependencies needed for a base server and the module system downloads compatible jars for any enabled features that needs more.

 

Note that 8 to 9 was a particularly big change in APIs and configuration, so there may be a bit of work updating an embedded application.     If you are not using maven or a distro, then I suggest removing all org.eclipse.jetty jars and the servlet API and replacing them with the jars from jetty-home.   Then work from there.

 

cheers

 

 

On 10 May 2017 at 23:40, Brian Cox <bcox@xxxxxxx> wrote:

Hi All,

 

I recently joined a new group doing, for the first time in a long time, Java and I am working with jetty for the first time. My first task has been upgrading the project’s use of jetty 8.1.7 to something more current. I recently grabbed 9.4.4 and seem to be running into one issue after another.

 

So I am going to start with a seriously newbie question. I’ve been grabbing updated versions of related jar files (servlet-api, javax.servlet.jsp, etc) and I have run into NoClassFoundExceptions, IllegalStateExceptions, etc and then today have hit:

 

Problem accessing /jaguar/admin/. Reason:

 

    Server Error

Caused by:

 

javax.servlet.ServletException: org.apache.jasper.JasperException: PWC6033: Error in Javac compilation for JSP

 

PWC6199: Generated servlet error:

package javax.servlet does not exist

 

PWC6199: Generated servlet error:

package javax.servlet.http does not exist

 

...

 

when loading a page.

 

So I’m backing up, starting over to make sure I have the right versions of everything to pair up with jetty 9.4.4.

 

Is there someplace that documents which jars I need to have installed to work with jsp 2.3?

 

Thanks for your help and your patience!

Brian


_______________________________________________
jetty-dev mailing list
jetty-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/jetty-dev



 

--


Back to the top