You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When first setting up the bot to run using sbt, I encountered this error when running sbt. I was able to fix the error but this is for anyone who may be facing a similar issue.
Make sure you have Java JDK Installed. I am running openjdk 21.0.2
Make sure you have Scala installed, by running brew install coursier/formulas/coursier && cs setup (for MAC). I am running 3.3.1
Make sure you have sbt installed, by running brew install sbt. I am running 1.9.8
You should be able to find version by running: java --version, scala --version, sbt --version
I am doing this in 2024. The issue comes from the build.properties file in resy-booking-bot/project/build.properties. The sbt.version field is hardcoded to 1.7.1, which is a older legacy version that may not work with the latest version of Java JDK. Replace this value with your current sbt version.
EDIT: With doing this, you will also have to change the scalaVersion found in resy-booking-bot/build.sbt to one that is compatible with the sbt version. I am using 21.0.2, so changing this value to 2.13.11 works for me. I looked it up online and anything after 2.13.11 works well with 21.0.2 version of JDK.
The text was updated successfully, but these errors were encountered:
If you want to avoid installing cs, you can use sbt to 1.9.5, scala 2.13.12 and keep openjdk at 21.0.2 (or lower). Changes to the build.properties still required.
Run sbt in project root directory, followed by a run once in sbt prompt and should see it download dependecnies and run the service/daemon with an output indicating success
When first setting up the bot to run using
sbt
, I encountered this error when runningsbt
. I was able to fix the error but this is for anyone who may be facing a similar issue.brew install coursier/formulas/coursier && cs setup
(for MAC). I am running 3.3.1sbt
installed, by runningbrew install sbt
. I am running 1.9.8You should be able to find version by running:
java --version
,scala --version
,sbt --version
I am doing this in 2024. The issue comes from the build.properties file in
resy-booking-bot/project/build.properties
. Thesbt.version
field is hardcoded to 1.7.1, which is a older legacy version that may not work with the latest version of Java JDK. Replace this value with your current sbt version.EDIT: With doing this, you will also have to change the scalaVersion found in
resy-booking-bot/build.sbt
to one that is compatible with the sbt version. I am using 21.0.2, so changing this value to 2.13.11 works for me. I looked it up online and anything after 2.13.11 works well with 21.0.2 version of JDK.The text was updated successfully, but these errors were encountered: