Coder Social home page Coder Social logo

Comments (8)

wrey75 avatar wrey75 commented on July 29, 2024 3

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.

ibalosh avatar ibalosh commented on July 29, 2024 1

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.

ibalosh avatar ibalosh commented on July 29, 2024

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:

https://stackoverflow.com/questions/44088493/jersey-stopped-working-with-injectionmanagerfactory-not-found

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.

ibalosh avatar ibalosh commented on July 29, 2024

awesome! will add the solution to wiki pages

from postmark-java.

snydergd avatar snydergd commented on July 29, 2024

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.

ibalosh avatar ibalosh commented on July 29, 2024

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.

ibalosh avatar ibalosh commented on July 29, 2024

let us know if you will see any issue with new version

from postmark-java.

snydergd avatar snydergd commented on July 29, 2024

Thanks! I will keep you posted if we have any issues.

from postmark-java.

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.