Skip to main content
Question

Error: "javax/ws/rs/core/Configurable"

  • October 17, 2024
  • 2 replies
  • 244 views

Forum|alt.badge.img+2

Hi everyone,


I have created a DocuSign microservice using JHipster. When I make a POST request, I get a 500 error, and it requires javax.ws.rs.core.Configurable (see attached image for the error).

 

 

In the pom.xml, I am using the jakarta.ws.rs-api dependency to avoid conflicts with Eureka, which otherwise fails.

Does anyone know how to solve this issue or have any suggestions on how to manage the dependency correctly?

Thanks a lot for your help!

POM:

 

2 replies

Forum|alt.badge.img+6
  • Docusign Employee
  • 60 replies
  • October 18, 2024

Hello Team,

I verified the error for references, and look like it is a dependency error, to fix that you need to correct your dependency:

<dependency>
    <groupId>javax.ws.rs</groupId>
    <artifactId>javax.ws.rs-api</artifactId>
    <version>2.0.1</version>
</dependency>

https://stackoverflow.com/questions/27939467/java-lang-noclassdeffounderror-javax-ws-rs-core-configuration

If the issue persists and you have a paid support plan, please, open a ticket for the support team


Forum|alt.badge.img+1

I’m receiving the same issue as well in my project. 
had to add all of these dependencies to make it work 

     <dependency>
                <groupId>javax.ws.rs</groupId>
                <artifactId>javax.ws.rs-api</artifactId>
                <version>2.0.1</version>
            </dependency>
            <dependency>
                <groupId>org.glassfish.jersey.core</groupId>
                <artifactId>jersey-client</artifactId>
                <version>2.35</version> <!-- Use a version compatible with your setup -->
            </dependency>
            <dependency>
                <groupId>org.glassfish.jersey.media</groupId>
                <artifactId>jersey-media-multipart</artifactId>
                <version>2.35</version>
            </dependency>
            <dependency>
                <groupId>org.glassfish.jersey.media</groupId>
                <artifactId>jersey-media-json-jackson</artifactId>
                <version>2.35</version> <!-- Use a version compatible with your Jersey dependencies -->
            </dependency>

I’m using the 6.0.0 version