Skip to content

sbt wrongly prints "sbt server is already booting" #6101

@sideeffffect

Description

@sideeffffect

steps

Start sbt in an "unusual" filesystem, fox example, in Eclipse Che, which is a containerized, cloud IDE, where the filesystem sbt works with is mounted over network.

problem

The whole message is this:

sbt server is already booting. Create a new server? y/n (default y)

sbt prints it even at wrong times.

expectation

It seems enough to just press Enter or y and Enter, and sbt then continues, but it shouldn't be displayed in the first place, because no sbt server has started yet.

notes

Other instance is this StackOverflow question, where there were issues with Windows' wsl2:
https://stackoverflow.com/questions/64809111/sbt-server-is-already-booting-error-when-launching-sbt-from-wsl2-ubuntu

It may be causing issues for other tools depending on sbt: scalameta/metals#2235

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions