Can't Run Activator Template projects Activator UI Failed to load SBT configuration

前端 未结 1 1630
被撕碎了的回忆
被撕碎了的回忆 2020-12-20 01:44

I am new to Play Framework and Scala and this amazing tool activator.

I am unable to run template projects that run play framework (eg: hello-play-scala) but able to

相关标签:
1条回答
  • 2020-12-20 02:34

    I was having the same problem on Windows 8.1, and after googling for a solution, I initially tried to update some of my plugins. (It turned out that only sbt-less was a bit out of date.) However, that did not resolve the matter.

    So, I found a couple of Web pages that mentioned the same problem, and it seemed that folks who adjusted the number of forward slashes in their ~/.sbt/repositories file (C:/Users/<username>/.sbt/repositories file on Windows) were able to resolve the matter that way. So, I changed both of the file://// patterns in my ~/.sbt/repositories file to file:///.

    Then I stopped my activator, killed all of the lingering instances of Java that it had spawned, deleted my <project_directory>/RUNNING_PID file and restarted activator. Now, things seem to be working.

    FYI, here are the two most helpful pages that I found regarding the problem:

    • Activator UI: Failed to load sbt configuration (Windows)
    • Cannot create new play-scala project, failed to load SBT configuration File
    0 讨论(0)
提交回复
热议问题