New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Simple native Kotlin function app fails to start in Docker - Could not resolve matching constructor #675
Comments
Are you saying it only breaks in |
Yes, works ok normally, broken in native docker image. |
@frayneposset I had a discussion with some of our guys on spring-native team and they advised to have this issue moved to https://github.com/spring-projects-experimental/spring-native/issues. Unfortunately we can't move issues across the orgs so I am going to close this and ask you to raise a new one in the provided link (you can still link to this issue form there) Also, it would greatly speed up the resolution process if you can create a small repo in GitHub with a bare minimum to reproduce the issue, given that the actual problem could be anywhere (code, missing plugin etc) we need to have a view into your exact process. |
Also, i was just told that Last but not least I have a hint of my own and suspect that there may be issues with the class in question given the error you see |
Just an FYI. The new spring-cloud-function snapshots with the updated class is available |
New issue raised with GIT repo example : |
Describe the bug
Simple Kotlin function app fails to start in native docker image:
Sample
Write a simple Spring Boot Kotlin application with a simple function exposed as a bean.
Build then run in docker:
./gradlew build bootBuildImage
docker run functionnative:0.0.1-SNAPSHOT
Kotlin code:
build.gradle.kts :
The text was updated successfully, but these errors were encountered: