sbt.InvalidComponent: Could not find required component 'xsbti'
Hi All,
I got this error when I tried to compile my Hello World scala. Following is the output from the SBT shell for: about, clean and compile. Any idea what might have caused this error?
about
[info] This is sbt 0.13.15
[info] The current project is {file:/Users/rebeccapoon/Development/Appl2/}appl2 1.0
[info] The current project is built against Scala 2.12.2
[info] Available Plugins: sbt.plugins.IvyPlugin, sbt.plugins.JvmPlugin, sbt.plugins.CorePlugin, sbt.plugins.JUnitXmlReportPlugin, sbt.plugins.Giter8TemplatePlugin, org.jetbrains.sbt.StructurePlugin, org.jetbrains.sbt.IdeaShellPlugin
[info] sbt, sbt plugins, and build definitions are using Scala 2.10.6
[IJ]> clean
[success] Total time: 0 s, completed 20-Jul-2017 12:40:28 PM
[IJ]> compile
[info] Updating {file:/Users/rebeccapoon/Development/Appl2/}appl2...
[info] Resolving org.scala-lang#scala-library;2.12.2 ...
[info] Resolving org.scala-lang#scala-compiler;2.12.2 ...
[info] Resolving org.scala-lang#scala-reflect;2.12.2 ...
[info] Resolving org.scala-lang.modules#scala-xml_2.12;1.0.6 ...
[info] Resolving jline#jline;2.14.3 ...
[info] Done updating.
[info] Compiling 1 Scala source to /Users/rebeccapoon/Development/Appl2/target/scala-2.12/classes...
[trace] Stack trace suppressed: run last compile:compileIncremental for the full output.
[error] (compile:compileIncremental) sbt.InvalidComponent: Could not find required component 'xsbti'
[error] Total time: 0 s, completed 20-Jul-2017 12:40:31 PM
Please sign in to leave a comment.
It sounds like a problem with sbt itself. Does it also appear if you run the sbt shell form command line?
Thanks! I updated my java followed by an update on scala plugins (Preferences > Languages and Frameworks > Scala > Updates > Plugin Update Channel: Release > Check For Updates. It is working now.