为何sbt无法加载该项目?

时间:2018-10-30 11:51:46

标签: intellij-idea sbt

我是Intellij和sbt的新手。我从git导入了一个项目到Intellij。 Intellij甚至为我安装了jdk,scala us sbt。一开始一切都运行良好,现在当我要执行sbt时总是出现错误消息。我已竭尽所能,但无济于事。这是错误消息:

/usr/lib/jvm/java-8-openjdk-amd64/bin/java -Xms512M -Xmx1024M -Xss1M -XX:+CMSClassUnloadingEnabled -javaagent:/home/universum/Downloads/Tools/idea-IC-182.4892.20/lib/idea_rt.jar=42481:/home/universum/Downloads/Tools/idea-IC-182.4892.20/bin -Dfile.encoding=UTF-8 -classpath /home/universum/.IdeaIC2018.2/config/plugins/Scala/launcher/sbt-launch.jar xsbt.boot.Boot run "run 9000"<br>
[info] Loading settings for project global-plugins from idea.sbt ...<br>
[info] Loading global plugins from /home/universum/.sbt/1.0/plugins<br>
error: error writing $83876b1cc9dcbf7126cd$: java.nio.file.AccessDeniedException /home/universum/Schreibtisch/AllProjects/Kakuro-online/kakuro-online/project/project/target/config-classes/$83876b1cc9dcbf7126cd$.class<br>
error: error writing $83876b1cc9dcbf7126cd: java.nio.file.AccessDeniedException /home/universum/Schreibtisch/AllProjects/Kakuro-online/kakuro-online/project/project/target/config-classes/$83876b1cc9dcbf7126cd.class<br>
[error] Type error in expression<br>
Project loading failed: (r)etry, (q)uit, (l)ast, or (i)gnore? 

0 个答案:

没有答案