Spring Boot 3 application deployment failure
hgbrown
HOBBYOP

9 months ago

I am trying to deploy my first app to Railway but I can’t seem to get it to work. It is a Spring Boot 3 application written in Kotlin using a Gradle build file (gradle.build.kts in the root of the project folder). I am trying to deploy the application directly from github: https://github.com/hgbrown/simple-contacts-demo I am using project with project id: 62cfc025-3a22-413f-8304-3bb3b215f818
I have tried it both with (and without) setting the RAILPACKJDKVERSION environment variable to 21 which is the Java version I used for the project. As far as I can tell, the project builds correctly but always seems to fail on deployment and I’m not sure why. I am using Railpack as the default build pack.

Is a Kotlin (.kts) build file supported?
How can I tell why the deployment keeps failing?
Thanks for any guidance.

1 Replies

passos
MODERATOR

9 months ago

Hey, you can see the reason of the build/deployment failure by going to the logs of your deployment


Loading...