ClassNotFoundException while building Gradle/Kotlin project using Railpack

shreyasayyengar
HOBBY

4 months ago

Project ID: d8c2d7d4-9cc2-4de3-a784-cb082a468bda
Deploy ID: 92dec4a2-e516-4a36-8591-eecfa6bc2c13

./gradlew clean build -x check -x test

process "./gradlew clean build -x check -x test" did not complete successfully: exit code: 1

Error: Could not find or load main class org.gradle.wrapper.GradleWrapperMain
Caused by: java.lang.ClassNotFoundException: org.gradle.wrapper.GradleWrapperMain

ERROR: failed to solve: process "./gradlew clean build -x check -x test" did not complete successfully: exit code: 1

at least it's pretty clear as day what the error is. how should i go about fixing this? is there something i need to change in my build.gradle.kts (build script) or something in Railway i need to change?

many thanks

Solved

0 Replies

shreyasayyengar
HOBBY

4 months ago

i managed to solve this by fixing a myriad of gradle/java issues.

cheers!


shreyasayyengar
HOBBY

4 months ago

!a


4 months ago

cheers!


4 months ago

!s


Status changed to Solved brody 4 months ago