Giter Site home page Giter Site logo

Comments (4)

senivam avatar senivam commented on July 23, 2024

Do you have

             <groupId>org.glassfish.jersey.media</groupId>
             <artifactId>jersey-media-jaxb</artifactId>

dependency in your classpath? If you use JDK 11+ there should be also

            <groupId>jakarta.xml.bind</groupId>
            <artifactId>jakarta.xml.bind-api</artifactId>

,

           <groupId>com.sun.xml.bind</groupId>
           <artifactId>jaxb-osgi</artifactId>

dependencies.

from jersey.

jluehe avatar jluehe commented on July 23, 2024

Thank you, @senivam, for your reply!

Yes, I do have the following (we are using JDK 17):

  • javax.xml.bind:jaxb-api:2.3.0
  • org.glassfish.jersey.media:jersey-media-jaxb:2.32

I do not have com.sun.xml.bind:jaxb-osgi though. Is it required? As I said, everything works fine with 2.32, it is only when I upgrade to 2.33 that I get the error ...

from jersey.

senivam avatar senivam commented on July 23, 2024

I hope, in reality, you have
org.glassfish.jersey.media:jersey-media-jaxb:2.33
not 2.32 as is the previous version you are migrating from.

could you please supply the output of the mvn dependency:tree for the module you are having error with?

from jersey.

jluehe avatar jluehe commented on July 23, 2024

I am upgrading all Jersey artifacts at the same time, so yes, as part of the upgrade, I am bumping org.glassfish.jersey.media:jersey-media-jaxb to 2.33 as well.

Will supply the dependency tree shortly ...

from jersey.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.