When launching the console from SBT, you get the error "Failed to get source module: org.scala-sbt: compiler-interface: 0.13.13: component"

in the Window command, I install Scala and SBT. when running console command from SBT which gets below error.

Can anyone help me to solve this problem?

gets below error > SBT

Java HotSpot(TM) Client VM warning: ignoring option MaxPermSize=256m; support was removed in 8.0
[info] Set current project to sujitd (in build file:/C:/Users/sujitd/)

      

console

   [info] Compiling 1 Scala source to C:\Users\sujitd\target\scala-2.10\classes...
    [info] Resolving org.scala-sbt#interface;0.13.13 ...
    [warn] Host repo1.maven.org not found. url=https://repo1.maven.org/maven2/org/scala-sbt/compiler-interface/0.13.13/compiler-interface-0.13.13-sources.jar
    [info] You probably access the destination server through a proxy server that is not well configured.
    [warn] Host repo.typesafe.com not found. url=https://repo.typesafe.com/typesafe/ivy-releases/org.scala-sbt/compiler-interface/0.13.13/srcs/compiler-interface-sources.jar
    [info] You probably access the destination server through a proxy server that is not well configured.
    [warn] Host repo.scala-sbt.org not found. url=https://repo.scala-sbt.org/scalasbt/ivy-snapshots/org.scala-sbt/compiler-interface/0.13.13/srcs/compiler-interface-sources.jar
    [info] You probably access the destination server through a proxy server that is not well configured.
    [warn]  [FAILED     ] org.scala-sbt#compiler-interface;0.13.13!compiler-interface.jar(src):  (0ms)
    [warn] ==== local: tried
    [warn]   C:\Users\sujitd\.ivy2\local\org.scala-sbt\compiler-interface\0.13.13\srcs\compiler-interface-sources.jar
    [warn] ==== public: tried
    [warn]   https://repo1.maven.org/maven2/org/scala-sbt/compiler-interface/0.13.13/compiler-interface-0.13.13-sources.jar
    [warn] ==== typesafe-ivy-releases: tried
    [warn]   https://repo.typesafe.com/typesafe/ivy-releases/org.scala-sbt/compiler-interface/0.13.13/srcs/compiler-interface-sources.jar
    [warn] ==== sbt-ivy-snapshots: tried
    [warn]   https://repo.scala-sbt.org/scalasbt/ivy-snapshots/org.scala-sbt/compiler-interface/0.13.13/srcs/compiler-interface-sources.jar
    [warn]  ::::::::::::::::::::::::::::::::::::::::::::::
    [warn]  ::              FAILED DOWNLOADS            ::
    [warn]  :: ^ see resolution messages for details  ^ ::
    [warn]  ::::::::::::::::::::::::::::::::::::::::::::::
    [warn]  :: org.scala-sbt#compiler-interface;0.13.13!compiler-interface.jar(src)
    [warn]  ::::::::::::::::::::::::::::::::::::::::::::::
    [trace] Stack trace suppressed: run last compile:compileIncremental for the full output.
    [error] (compile:compileIncremental) sbt.InvalidComponent: Couldn't retrieve source module: org.scala-sbt:compiler-interface:0.13.13:component
    [error] Total time: 2 s, completed Apr 7, 2017 9:59:20 AM

      

+3


source to share





All Articles