Giter VIP home page Giter VIP logo

Comments (10)

peterbecker avatar peterbecker commented on August 18, 2024

Actually: the dependencies above compile, but still fail at runtime with:

 java.lang.NoClassDefFoundError: javax/ws/rs/core/UriBuilder

It took me a while to see since the error handling in our code only catches Exception, not Throwable, making this a bit of a hidden failure.

I tried adding

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

But that then leads to:

java.lang.RuntimeException: java.lang.ClassNotFoundException: com.sun.ws.rs.ext.RuntimeDelegateImpl

which seems to indicate that somewhere you depend on the whole Jersey client.

from jcabi-http.

yegor256 avatar yegor256 commented on August 18, 2024

@peterbecker you're right, we need to write a proper "required dependencies" page

from jcabi-http.

dmarkov avatar dmarkov commented on August 18, 2024

I'm aware of the task, give me some time to find a developer...

from jcabi-http.

dmarkov avatar dmarkov commented on August 18, 2024

@carlosmiranda it's your task now

from jcabi-http.

carlosmiranda avatar carlosmiranda commented on August 18, 2024

Pull request at #38 is now ready for review.

from jcabi-http.

carlosmiranda avatar carlosmiranda commented on August 18, 2024

@peterbecker we added a new page in #38. If that satisfies your requirement, please close the issue, or else let us know what you need.

from jcabi-http.

yegor256 avatar yegor256 commented on August 18, 2024

the page is here: http://http.jcabi.com/optional-dependencies.html

from jcabi-http.

carlosmiranda avatar carlosmiranda commented on August 18, 2024

Hi @peterbecker . Hope you don't mind, but could you close this ticket and raise your suggestion in #38 in a separate issue? We'll continue from there. :)

from jcabi-http.

peterbecker avatar peterbecker commented on August 18, 2024

No worries.

from jcabi-http.

dmarkov avatar dmarkov commented on August 18, 2024

@carlosmiranda Thanks so much! Your account was topped up for 30 mins (transaction ID is 41006881)

from jcabi-http.

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.