Comments (10)
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.
@peterbecker you're right, we need to write a proper "required dependencies" page
from jcabi-http.
I'm aware of the task, give me some time to find a developer...
from jcabi-http.
@carlosmiranda it's your task now
from jcabi-http.
Pull request at #38 is now ready for review.
from jcabi-http.
@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.
the page is here: http://http.jcabi.com/optional-dependencies.html
from jcabi-http.
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.
No worries.
from jcabi-http.
@carlosmiranda Thanks so much! Your account was topped up for 30 mins (transaction ID is 41006881
)
from jcabi-http.
Related Issues (20)
- Improve integration testing
- No args contructors for Request types HOT 6
- Remove MultipartBodyBuilder HOT 7
- JdkRequest does not support compression HOT 1
- Update to Jakarta EE 9 spec HOT 3
- Bump hamcrest to 2.2 HOT 3
- new skin 1.7.1 HOT 17
- CVE-2018-10237 HOT 1
- CVE-2020-13956 HOT 1
- CVE-2020-8908 HOT 1
- Setting a filename for MultipartFormBody is broken HOT 1
- jackson-databind-2.13.1.jar: CVE-2020-36518 HOT 1
- pom.xml:114-419: Transitive dependencies for hamcrest 1.3... HOT 1
- CachingWire.java:85-89: This implementation depends on... HOT 1
- BaseRequest.java:75-83: Refactor this class to get rid of... HOT 1
- LastModifiedCachingWireTest.java:60-68: Clean tests... HOT 1
- LastModifiedCachingWireTest.java:204-213: Confirm cache... HOT 1
- fresh release HOT 6
- Dependency Dashboard
- XMLResponse fails recognizing namespaces HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jcabi-http.