Error:scalac: Error: Error compiling the sbt component ‘compiler-interface-2.11.8-55.0‘
Posted Mr.zhou_Zxy
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Error:scalac: Error: Error compiling the sbt component ‘compiler-interface-2.11.8-55.0‘相关的知识,希望对你有一定的参考价值。
IDEA问题报错
Error:scalac: Error: Error compiling the sbt component 'compiler-interface-2.11.8-55.0'
sbt.internal.inc.CompileFailed: Error compiling the sbt component 'compiler-interface-2.11.8-55.0'
at sbt.internal.inc.AnalyzingCompiler$.handleCompilationError$1(AnalyzingCompiler.scala:331)
at sbt.internal.inc.AnalyzingCompiler$.$anonfun$compileSources$4(AnalyzingCompiler.scala:346)
at sbt.internal.inc.AnalyzingCompiler$.$anonfun$compileSources$4$adapted(AnalyzingCompiler.scala:341)
at sbt.io.IO$.withTemporaryDirectory(IO.scala:376)
at sbt.io.IO$.withTemporaryDirectory(IO.scala:383)
at sbt.internal.inc.AnalyzingCompiler$.$anonfun$compileSources$2(AnalyzingCompiler.scala:341)
at sbt.internal.inc.AnalyzingCompiler$.$anonfun$compileSources$2$adapted(AnalyzingCompiler.scala:335)
at sbt.io.IO$.withTemporaryDirectory(IO.scala:376)
at sbt.io.IO$.withTemporaryDirectory(IO.scala:383)
at sbt.internal.inc.AnalyzingCompiler$.compileSources(AnalyzingCompiler.scala:335)
at org.jetbrains.jps.incremental.scala.local.CompilerFactoryImpl$.getOrCompileInterfaceJar(CompilerFactoryImpl.scala:113)
at org.jetbrains.jps.incremental.scala.local.CompilerFactoryImpl.$anonfun$getScalac$1(CompilerFactoryImpl.scala:49)
at scala.Option.map(Option.scala:146)
at org.jetbrains.jps.incremental.scala.local.CompilerFactoryImpl.getScalac(CompilerFactoryImpl.scala:47)
at org.jetbrains.jps.incremental.scala.local.CompilerFactoryImpl.createCompiler(CompilerFactoryImpl.scala:25)
at org.jetbrains.jps.incremental.scala.local.CachingFactory.$anonfun$createCompiler$3(CachingFactory.scala:24)
at org.jetbrains.jps.incremental.scala.local.Cache.$anonfun$getOrUpdate$2(Cache.scala:20)
at scala.Option.getOrElse(Option.scala:121)
at org.jetbrains.jps.incremental.scala.local.Cache.getOrUpdate(Cache.scala:19)
at org.jetbrains.jps.incremental.scala.local.CachingFactory.createCompiler(CachingFactory.scala:24)
at org.jetbrains.jps.incremental.scala.local.LocalServer.compile(LocalServer.scala:27)
at org.jetbrains.jps.incremental.scala.remote.Main$.make(Main.scala:89)
at org.jetbrains.jps.incremental.scala.remote.Main$.nailMain(Main.scala:35)
at org.jetbrains.jps.incremental.scala.remote.Main.nailMain(Main.scala)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at com.martiansoftware.nailgun.NGSession.run(NGSession.java:319)
问题解决方法
-
File
-
2 Modules
-
3 Project
+ 修改
-
Error:scalac: Error: Error compiling the sbt component ‘compiler-interface-2.11.8-55.0’
sbt.internal.inc.CompileFailed: Error compiling the sbt component ‘compiler-interface-2.11.8-55.0’
at sbt.internal.inc.AnalyzingCompiler$.handleCompilationError 1 ( A n a l y z i n g C o m p i l e r . s c a l a : 331 ) a t s b t . i n t e r n a l . i n c . A n a l y z i n g C o m p i l e r 1(AnalyzingCompiler.scala:331) at sbt.internal.inc.AnalyzingCompiler 1(AnalyzingCompiler.scala:331)atsbt.internal.inc.AnalyzingCompiler. a n o n f u n anonfun anonfuncompileSources 4 ( A n a l y z i n g C o m p i l e r . s c a l a : 346 ) a t s b t . i n t e r n a l . i n c . A n a l y z i n g C o m p i l e r 4(AnalyzingCompiler.scala:346) at sbt.internal.inc.AnalyzingCompiler 4(AnalyzingCompiler.scala:346)atsbt.internal.inc.AnalyzingCompiler. a n o n f u n anonfun anonfuncompileSources 4 4 4adapted(AnalyzingCompiler.scala:341)
at sbt.io.IO . w i t h T e m p o r a r y D i r e c t o r y ( I O . s c a l a : 376 ) a t s b t . i o . I O .withTemporaryDirectory(IO.scala:376) at sbt.io.IO .withTemporaryDirectory(IO.scala:376)atsbt.io.IO.withTemporaryDirectory(IO.scala:383)
at sbt.internal.inc.AnalyzingCompiler . . .anonfun$compileSources 2 ( A n a l y z i n g C o m p i l e r . s c a l a : 341 ) a t s b t . i n t e r n a l . i n c . A n a l y z i n g C o m p i l e r 2(AnalyzingCompiler.scala:341) at sbt.internal.inc.AnalyzingCompiler 2(AnalyzingCompiler.scala:341)atsbt.internal.inc.AnalyzingCompiler. a n o n f u n anonfun anonfuncompileSources 2 2 2adapted(AnalyzingCompiler.scala:335)
at sbt.io.IO . w i t h T e m p o r a r y D i r e c t o r y ( I O . s c a l a : 376 ) a t s b t . i o . I O .withTemporaryDirectory(IO.scala:376) at sbt.io.IO .withTemporaryDirectory(IO.scala:376)atsbt.io.IO.withTemporaryDirectory(IO.scala:383)
at sbt.internal.inc.AnalyzingCompiler . c o m p i l e S o u r c e s ( A n a l y z i n g C o m p i l e r . s c a l a : 335 ) a t o r g . j e t b r a i n s . j p s . i n c r e m e n t a l . s c a l a . l o c a l . C o m p i l e r F a c t o r y I m p l .compileSources(AnalyzingCompiler.scala:335) at org.jetbrains.jps.incremental.scala.local.CompilerFactoryImpl .compileSources(AnalyzingCompiler.scala:335)atorg.jetbrains.jps.incremental.scala.local.CompilerFactoryImpl.getOrCompileInterfaceJar(CompilerFactoryImpl.scala:113)
at org.jetbrains.jps.incremental.scala.local.CompilerFactoryImpl. a n o n f u n anonfun anonfungetScalac 1 ( C o m p i l e r F a c t o r y I m p l . s c a l a : 49 ) a t s c a l a . O p t i o n . m a p ( O p t i o n . s c a l a : 146 ) a t o r g . j e t b r a i n s . j p s . i n c r e m e n t a l . s c a l a . l o c a l . C o m p i l e r F a c t o r y I m p l . g e t S c a l a c ( C o m p i l e r F a c t o r y I m p l . s c a l a : 47 ) a t o r g . j e t b r a i n s . j p s . i n c r e m e n t a l . s c a l a . l o c a l . C o m p i l e r F a c t o r y I m p l . c r e a t e C o m p i l e r ( C o m p i l e r F a c t o r y I m p l . s c a l a : 25 ) a t o r g . j e t b r a i n s . j p s . i n c r e m e n t a l . s c a l a . l o c a l . C a c h i n g F a c t o r y . 1(CompilerFactoryImpl.scala:49) at scala.Option.map(Option.scala:146) at org.jetbrains.jps.incremental.scala.local.CompilerFactoryImpl.getScalac(CompilerFactoryImpl.scala:47) at org.jetbrains.jps.incremental.scala.local.CompilerFactoryImpl.createCompiler(CompilerFactoryImpl.scala:25) at org.jetbrains.jps.incremental.scala.local.CachingFactory. 1(CompilerFactoryImpl.scala:49)atscala.Option.map(Option.scala:146)atorg.jetbrains.jps.incremental.scala.local.CompilerFactoryImpl.getScalac(CompilerFactoryImpl.scala:47)atorg.jetbrains.jps.incremental.scala.local.Compiler以上是关于Error:scalac: Error: Error compiling the sbt component ‘compiler-interface-2.11.8-55.0‘的主要内容,如果未能解决你的问题,请参考以下文章scalaIDEA运行scala程序:Error:scalac: bad option: ‘-make:transitive‘
matlab导出jar包错误Error: An error occurred while shelling out to javac(erro code = 1)解决办法
Inceptor [Code: 40000, SQL State: 42000] COMPILE FAILED: Internal error NullPointerException: [Erro
Vue Js-Error in callback for watcher "function () return this._data.$$state ": "Erro