Closed sdyavanapelli closed 1 month ago
Note : we are loading the org.glassfish.jersey.jetty.connector.JettyConnectorProvider as spi.
yes. The error is only coming from 3.1.7 but not in 3.1.6 and 4.0.0-M1 version, but we have to use 3.1.7 version, can you please look into this.
It seems that the jersey-jetty-connector-3.1.7 jar is not generating correct profile for jdk 21 , please check.
That's just confusing. You'd get the same result from 3.1.6. It is a multi-release jar, and the proper classes are in META-INF/versions/17. The class you show is just to warn about using the improper JDK version.
I suspect this Line is missing in 3.1.7 version in MANIFEST.MF "META-INF .versions.17.org.glassfish.jersey.jetty.connector;version="3.1.7". can you check the dependency provided in maven repo : https://mvnrepository.com/artifact/org.glassfish.jersey.connectors/jersey-jetty-connector/3.1.7
any update @jansupol .
I can see the Export-Package
: contains META-INF.versions.17.org.glassfish.jersey.jetty.connector;version="3.1.7"
. But that line should not be relevant outside of OSGi.
@sdyavanapelli You can try 3.1.8 if that helps.
I am closing this as not an issue in Jersey.
I am getting below error after upgrading jersey-client 3.1.7 from 3.1.5 and also jersey-jetty-client 3.1.7.
I have read the documentation and I am using java 21 and maven 3.9.6 version.
pom.xml
I have tested my changes with jersey-jetty-connector with version 3.1.6 and 4.0.0.M1 , both of them are working fine but the issue is only with the jersey-jetty-connector : 3.1.7