Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Comments

@pradeep007nc
Copy link

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)

image
image

Copy link

PETOSS-651

Copy link

Thanks for raising an issue, a ticket has been created to track your request

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant