ratpack not working with maven
See original GitHub issueHi,
I have tried to use resilience4j-ratpack with maven and I have found some issues. I will try to enumerate the problems.
- the dependency “resilience4j-ratpack” using maven contains an internal dependency “groovy-all” which scope is runtime and should be compile
- 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)
- 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:
- Created 4 years ago
- Comments:26 (14 by maintainers)
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
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
Hi,
Thanks! I will take a look now