[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [jersey-dev] upgrading from jersey 1.19 to jersey 2.25.1
|
Hi Usha,
jersey-container-jetty-http provides a way to start an embedded Jetty
that the Jersey runs in. You say you have pulled
jersey-container-jetty-http-2.25.1.jar already and it runs fine.
So what is your question?
Thanks,
Jan
On 11.06.2020 0:22, Usha Nayak wrote:
Hello
We have REST application with Jersey and embedded jetty and in process
of upgrading jersey to 2.25.1
I found I had to pull in the highlighted dependencies ( without maven
) during upgrade to jersey 2.25.1 ( the rest of them were already in
the project ).
Jersey:
jersey-container-servlet-core.jar
jersey-server.jar
jersey-common.jar
javax.ws.rs-api-2.0.1.jar
jersey-container-jetty-http-2.25.1.jar
hk2-api-2.5.0-b32.jar
jersey-guava-2.25.1.jar
javax.inject-2.5.0-b32.jar
hk2-utils-2.5.0-b32.jar
hk2-locator-2.5.0-b32.jar;
javax.annotation-api-1.2.jar
javassist-3.20.0-GA.jar
jersey-client.jar
validation-api-1.1.0.Final.jar
Jackson :
jackson-annotations-2.10.2.jar
jackson-core-2.10.2.jar
jackson-databind-2.10.2.jar
jackson-jaxrs-base-2.10.2.jar
jackson-jaxrs-json-provider-2.10.2.jar
jackson-module-jaxb-annotations-2.10.2.jar
Jetty JARS:
jetty-continuation-9.4.26.v20200117.jar
jetty-http-9.4.26.v20200117.jar
jetty-io-9.4.26.v20200117.jar
jetty-jmx-9.4.26.v20200117.jar
jetty-security-9.4.26.v20200117.jar
jetty-server-9.4.26.v20200117.jar
jetty-servlet-9.4.26.v20200117.jar
jetty-servlets-9.4.26.v20200117.jar
jetty-util-9.4.26.v20200117.jar
servlet-api-3.1.jar
jetty-xml-9.4.26.v20200117.jar
On googling though, I found many sites where their application was
jersey + embedded jetty based where they had dependency to following
jersey components ( but then again they were using maven as well ) :
jersey-container-jetty-http
jersey-container-servlet-core
jersey-server.jar
With current jars in the classpath, I was able to compile and run our
application ok. However, I'm a bit confused about '
jersey-container-jetty-http'. Do I need this as well ? Does the list
of dependent jars look complete ? I ahevt o admit I wasn't expecting
so many jars after working with a single bundle in jersey 1.1.9
Any help would be greatly appreciated.
Thanks..
_______________________________________________
jersey-dev mailing list
jersey-dev@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/jersey-dev