Closed lewimuchiri closed 1 year ago
The problem is with Java 17. The project works as-is in Java 11, but for Java 17, you have to use guice
version 5.1.0 (it's the one I tested with). Do not rely on the guice that comes with Rejoiner
implementation("com.google.api.graphql:rejoiner:0.3.1") {
exclude(group = "com.google.inject", module = "guice")
}
implementation("com.google.inject:guice:5.1.0")
Forked project and upgraded its dependencies. Now works with Java 17 and graphql-java
versions above 16.2 (due to Scalars.GraphQLLong
which was moved to Extended Scalars library)
Hi, i'm getting this exception when starting up my app:
Here is my
build.gradle.kts
:My configuration class is as follows:
The
Guice.createInjector()
line is the offending code. Any leads? Thanks