You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
error while using getConnections. java.lang.UnsupportedClassVersionError: jakarta/ws/rs/core/UriBuilder has been compiled by a more recent version of the Java Runtime (class file version 55.0),
#11
Open
pradeep007nc opened this issue
Oct 21, 2024
· 2 comments
Hi im facing an issue while using this sdk
im currently using java 8
first error was
java: cannot access jakarta.servlet.http.Cookie
bad class file: /home/pilli007/.m2/repository/jakarta/servlet/jakarta.servlet-api/6.0.0/jakarta.servlet-api-6.0.0.jar!/jakarta/servlet/http/Cookie.class
class file has wrong version 55.0, should be 52.0
Please remove or make sure it appears in the correct subdirectory of the classpath.
so changed jakarta to javax
javax.servlet
javax.servlet-api
3.1.0
provided
changed jakarta to javax everywhere
still this issue
java.lang.UnsupportedClassVersionError: jakarta/ws/rs/core/UriBuilder has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0 (unable to load class [jakarta.ws.rs.core.UriBuilder])
below is the image
org.apache.catalina.loader.WebappClassLoaderBase.findClassInternal(WebappClassLoaderBase.java:2348)
org.apache.catalina.loader.WebappClassLoaderBase.findClass(WebappClassLoaderBase.java:817)
The text was updated successfully, but these errors were encountered:
Hi im facing an issue while using this sdk
im currently using java 8
first error was
java: cannot access jakarta.servlet.http.Cookie
bad class file: /home/pilli007/.m2/repository/jakarta/servlet/jakarta.servlet-api/6.0.0/jakarta.servlet-api-6.0.0.jar!/jakarta/servlet/http/Cookie.class
class file has wrong version 55.0, should be 52.0
Please remove or make sure it appears in the correct subdirectory of the classpath.
so changed jakarta to javax
javax.servlet
javax.servlet-api
3.1.0
provided
changed jakarta to javax everywhere
still this issue
java.lang.UnsupportedClassVersionError: jakarta/ws/rs/core/UriBuilder has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0 (unable to load class [jakarta.ws.rs.core.UriBuilder])
below is the image
org.apache.catalina.loader.WebappClassLoaderBase.findClassInternal(WebappClassLoaderBase.java:2348)
org.apache.catalina.loader.WebappClassLoaderBase.findClass(WebappClassLoaderBase.java:817)
The text was updated successfully, but these errors were encountered: