Comments (8)
Hello,
Following your advice, I added the dependency below and works like a charm.
<dependency>
<groupId>org.glassfish.jersey.inject</groupId>
<artifactId>jersey-hk2</artifactId>
<version>2.27</version>
</dependency>
from postmark-java.
Hi @snydergd
we have updated jersey version along one small update, in library version 1.5.0. We are using Jersey 2.27 from now on.
Igor
from postmark-java.
Hu @wrey75
hm, it seems that Spring boot 2 is using same library as our library for HTTP client requests - Jersey.
The problem arises from what I see, since we use older library version from Spring boot 2.
I will check posibility of updating library, but for now, could you try to resolve the issue by trying out the following options users used to solve Jersey request problem:
from what I see users solved it by adding following dependency to pom.xml
<dependency>
<groupId>org.glassfish.jersey.inject</groupId>
<artifactId>jersey-hk2</artifactId>
</dependency>
Let me know if that works?
from postmark-java.
awesome! will add the solution to wiki pages
from postmark-java.
So, what is happening is that Spring brings in a newer version than postmark uses, which externalizes some pieces to another dependency. Adding that dependency fixes this issue, however, it looks like the newer (2.26 and up) versions are not backwards compatible.
Any chance this issue could be re-opened with the intent of updating the version used by Postmark? Or does postmark not use the "reactive client API" portion provided in earlier versions, making this not a concern in itself?
The solution of updating the version used by postmark would both resolve this problem, and prevent other potential problems/vulnerabilities from the older version being in Postmark.
from postmark-java.
Hey @snydergd ,
I will see review the library along with some other updates this week and see if we can bump the jersey version.
Igir
from postmark-java.
let us know if you will see any issue with new version
from postmark-java.
Thanks! I will keep you posted if we have any issues.
from postmark-java.
Related Issues (20)
- Java 9: Illegal reflective access warning caused by JAXB dependency HOT 8
- [1.5.6] ProcessingException after upgrading from 1.5.5 to 1.5.6 HOT 10
- log4j2.properties overriding log4j2 configuration HOT 1
- Logging dependencies HOT 5
- Feature Request - support custom jackson object mapper HOT 3
- `message.addHeader` function not backwards compatible HOT 2
- Updated dependencies with high vulnerabilities HOT 1
- Allowing comma separated emails HOT 5
- HeaderValueException:Too many "Content-Type" header values: "[application/json, application/json]" HOT 13
- HeaderValueException:Too many "Content-Type" header values: "[application/json, application/json]" HOT 2
- HeaderValueException:Too many "Content-Type" header values: "[application/json, application/json] HOT 2
- Apache Tika vulnerabilities HOT 2
- Version `1.8.2` introduces `slf4j-simple` dependency HOT 2
- Upgrade Apache Tika to address vulnerability HOT 2
- Improve error handling, when HTTP status is unknown HOT 1
- Is ApiClient threadsafe? HOT 3
- Support for Jakarta EE HOT 2
- Spring Boot random "SSLException: Connection Reset" with Java 8 HOT 6
- Spring boot version 3.XX support HOT 3
- Metadata field is not present in "Bounce" class
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 postmark-java.