Hi, when trying to instantiate a FakeS3, I get a j...
# http4k
o
Hi, when trying to instantiate a FakeS3, I get a java.lang.NoSuchMethodError: 'org.http4k.routing.Router org.http4k.routing.ExtensionsKt.asRouter(kotlin.jvm.functions.Function1)' . I've included the http4k and http4k-connect boms, the core package and the ksp-generator. What am I missing?
d
which versions are you using?
of http4k/connect/kotlin
o
http4kConnectVersion=3.28.0.0 http4kVersion=5.1.2.0
Maybe should update to 5.0.0?
d
1. upgrade connect
always upgrade first 🙂
especially through major version numbers
o
Thank you very much. If that's helpful, I was trying to run the example from https://github.com/http4k/examples/blob/master/http4k-connect. Want me to open a PR and update the gradle.properties file?
d
ah - yes - thank you! 🙃
good catch 🙂
o
Seems I'm not allowed to create a PR. Should I try to create an issue, so this get's fixed? (I'm not very versed in OSS, thanks for helping out)
d
it's strange that you can't create a PR, but I'll fix it now - so don't worry about it! 🙂
o
Thank you very much 👍