For anyone who is running into this issue in the future: The fix for me was updating Intellij. I was using the 2022 version, which apparently had some issues with Java 21 (particularly around enums, which Direction is one).
4 replies
Important Information
By using this site, you agree to our Terms of Use.