I\'m wondering whether anyone has any experience with a java.io.FileNotFoundException
while trying to run SBT.
When I try to get SBT running I get the e
The (Permission denied)
error says that you're probably running the sbt
command from a user that doesn't have permission for the project you're entering sbt
in.
Change folder permissions with chown -R youruser:youruser /path/to/project
and it should fix it.
The problem could be that you ran sbt as root and few directories inside target folder became root(hence permission denied issue). You can just run sudo rm -rf target/
and then sbt clean compile
to regain those compiled files under your account. Worked for me.
Neither of answers helped me, but @Priyatham gave a great idea: i also removed project/project
and project/target
folders - and it worked.