From 675b06f303f7051277192f3a7b285a75eed84c32 Mon Sep 17 00:00:00 2001 From: Guillaume Martres <smarter@ubuntu.com> Date: Wed, 24 Feb 2021 17:50:20 +0100 Subject: [PATCH] Add sbt error troubleshooting --- labs/example-lab.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/labs/example-lab.md b/labs/example-lab.md index 09e0d21..8a4728d 100644 --- a/labs/example-lab.md +++ b/labs/example-lab.md @@ -260,6 +260,15 @@ will be shown in green on the right. # Troubleshooting +## sbt fails to start + +If you see any kind of error when sbt starts that prevents you from using it, +try cleaning the project cache by running: +```shell +git clean -Xdf +``` +Then restarting `sbt`. + ## IDE features like type-on-hover or go-to-definition do not work It's likely that the build wasn't imported, we can import it manually: -- GitLab