question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

ratpack not working with maven

See original GitHub issue

Hi,

I have tried to use resilience4j-ratpack with maven and I have found some issues. I will try to enumerate the problems.

  1. the dependency “resilience4j-ratpack” using maven contains an internal dependency “groovy-all” which scope is runtime and should be compile
  2. If we follow the documentation ratpack we can see that we have to create a Resilience4jModule. If we do that we have some binding problems as 1) No implementation for ratpack.server.ServerConfig was bound. while locating ratpack.server.ServerConfig for the 1st parameter of ratpack.guice.ConfigurableModule.provideConfig(ConfigurableModule.java:209) at ratpack.guice.ConfigurableModule.provideConfig(ConfigurableModule.java:209) (via modules: CircuitBreakerModule -> io.github.resilience4j.ratpack.Resilience4jModule)
  3. If we create a binding for bind(CircuitBreakerRegistry.class).toInstance(CircuitBreakerRegistry.of(config)) it says that we already have a binding for this class.

Thanks a lot!

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:26 (14 by maintainers)

github_iconTop GitHub Comments

1reaction
masoskycommented, Jun 20, 2019

Sorry, I think I was wrong. All the missing code was from original ratpack libraries. I am not 100% sure but maybe it is like you said, we need them only in tests.

Thanks

0reactions
masoskycommented, Jul 1, 2019

Hi,

Thanks! I will take a look now

Read more comments on GitHub >

github_iconTop Results From Across the Web

Ratpack 1.5.4 hystrix dependency cannot be resolved
i dont use gradle, just maven. in the pom.xml i added ratpack, but version 1.5.4, which is the latest includes a dependency to...
Read more >
Introduction to Ratpack | Baeldung
Ratpack is a set of JVM based libraries built for modern days high-performance real-time applications. It's built on top of embedded Netty ...
Read more >
io.ratpack - Maven Repository
Support for JSON via the Jackson marshalling library - http://jackson.codehaus.org/. Last Release on Jun 3, 2015. logo. 16. Ratpack Reactor1 usages.
Read more >
2.0.0-rc-1 - Ratpack
The last handler is always an internal handler that issues a HTTP 404 client error (via context.clientError(404) which is discussed later). Consider that ......
Read more >
ratpack.error.ContextualException Maven / Gradle / Ivy
ratpack.error.ContextualException maven / gradle build tool code. The class is part of the package ➦ Group: io.ratpack ➦ Artifact: ratpack-core ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found