This is an automated email from the ASF dual-hosted git repository.

jleroux pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/ofbiz-plugins.git

commit 23b1c3a4ca95c92f1059d4eb025cfcb8bc285399
Author: Jacques Le Roux <jacques.le.r...@les7arts.com>
AuthorDate: Tue Dec 6 09:35:44 2022 +0100

    Fixed: Upgrade to gradle 7.6 - support jdk 11 -> 17 (OFBIZ-12400)
    
    > java.lang.IllegalArgumentException: Unsupported class file major version 
61
    
    This might require a version upgrade for Jersey to a version that supports 
Java 17 .
    Jersey seems to repackage ASM for bytecode transformations.
    
    The bundled version does not support Java 17 .
    An upgrade to jersey 2.37 should do the trick
    https://github.com/eclipse-ee4j/jersey/releases/tag/2.37 .
    
    Thanks: Ioan Eugen Stan
---
 rest-api/build.gradle | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/rest-api/build.gradle b/rest-api/build.gradle
index 29c39b692..6bf619eb8 100644
--- a/rest-api/build.gradle
+++ b/rest-api/build.gradle
@@ -23,10 +23,10 @@ project.rootProject.configurations.all {
 }
 
 dependencies {
-    pluginLibsCompile 
'org.glassfish.jersey.containers:jersey-container-servlet:2.31' // Compilation 
issues with 3.0.2: package javax.ws.rs does not exist
-    pluginLibsCompile 'org.glassfish.jersey.media:jersey-media-multipart:2.31'
-    pluginLibsCompile 
'org.glassfish.jersey.media:jersey-media-json-jackson:2.31'
-    pluginLibsCompile 'org.glassfish.jersey.inject:jersey-hk2:2.31'
+    pluginLibsCompile 
'org.glassfish.jersey.containers:jersey-container-servlet:2.37' // Compilation 
issues with 3.0.2: package javax.ws.rs does not exist
+    pluginLibsCompile 'org.glassfish.jersey.media:jersey-media-multipart:2.37'
+    pluginLibsCompile 
'org.glassfish.jersey.media:jersey-media-json-jackson:2.37'
+    pluginLibsCompile 'org.glassfish.jersey.inject:jersey-hk2:2.37'
     pluginLibsCompile 'io.swagger.core.v3:swagger-jaxrs2:2.2.6'
     pluginLibsCompile 
'io.swagger.core.v3:swagger-jaxrs2-servlet-initializer:2.2.6'
     pluginLibsCompile 'io.swagger.core.v3:swagger-annotations:2.2.6'

Reply via email to