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
To resolve the "Handler dispatch failed; nested exception is java.lang.NoClassDefFoundError: jakarta/ws/rs/core/Configuration" error when trying to connect a graph in Hubble, you need to ensure that the required Jakarta EE dependencies are correctly included in your project.
The jakarta.ws.rs.core.Configuration class is missing, which is part of the Jakarta RESTful Web Services (JAX-RS) API. You need to include the appropriate JAX-RS dependency in your project.
If you are using Maven, add the following dependency to your pom.xml:
<dependency>
<groupId>jakarta.ws.rs</groupId>
<artifactId>jakarta.ws.rs-api</artifactId>
<version>2.1.6</version> <!-- or the appropriate version you need -->
</dependency>
Additionally, you might need to include dependencies for Jersey, which is a reference implementation for JAX-RS:
If you are using Gradle, add the following to your build.gradle:
implementation 'jakarta.ws.rs:jakarta.ws.rs-api:2.1.6'// or the appropriate version you need
implementation 'org.glassfish.jersey.core:jersey-server'
implementation 'org.glassfish.jersey.containers:jersey-container-grizzly2-http'
implementation 'org.glassfish.jersey.containers:jersey-container-grizzly2-servlet'
implementation 'org.glassfish.jersey.media:jersey-media-json-jackson'
Ensure that the versions you use are compatible with the rest of your project dependencies. After adding the dependencies, rebuild your project and try connecting to the graph in Hubble again [1][2].
Bug Type (问题类型)
other exception / error (其他异常报错)
Before submit
Environment (环境信息)
Expected & Actual behavior (期望与实际表现)
Vertex/Edge example (问题点 / 边数据举例)
Schema [VertexLabel, EdgeLabel, IndexLabel] (元数据结构)
The text was updated successfully, but these errors were encountered: