Error:scalac: Error: Error compiling the sbt component compiler-interface-2.11.8-55.0

错误

Error:scalac: Error: Error compiling the sbt component compiler-interface-2.11.8-55.0_第1张图片```java
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.CompilerFactoryImpl.createCompiler(CompilerFactoryImpl.scala:25)atorg.jetbrains.jps.incremental.scala.local.CachingFactory.anonfun$createCompiler 3 ( C a c h i n g F a c t o r y . s c a l a : 24 ) 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 e . 3(CachingFactory.scala:24) at org.jetbrains.jps.incremental.scala.local.Cache. 3(CachingFactory.scala:24)atorg.jetbrains.jps.incremental.scala.local.Cache.anonfun$getOrUpdate 2 ( C a c h e . s c a l a : 20 ) a t s c a l a . O p t i o n . g e t O r E l s e ( O p t i o n . s c a l a : 121 ) 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 e . g e t O r U p d a t e ( C a c h e . s c a l a : 19 ) 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 . c r e a t e C o m p i l e r ( C a c h i n g F a c t o r y . s c a l a : 24 ) 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 . L o c a l S e r v e r . c o m p i l e ( L o c a l S e r v e r . s c a l a : 27 ) 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 . r e m o t e . M a i n 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 2(Cache.scala:20)atscala.Option.getOrElse(Option.scala:121)atorg.jetbrains.jps.incremental.scala.local.Cache.getOrUpdate(Cache.scala:19)atorg.jetbrains.jps.incremental.scala.local.CachingFactory.createCompiler(CachingFactory.scala:24)atorg.jetbrains.jps.incremental.scala.local.LocalServer.compile(LocalServer.scala:27)atorg.jetbrains.jps.incremental.scala.remote.Main.make(Main.sca


## 解决办法
![在这里插入图片描述](https://img-blog.csdnimg.cn/20200622175831807.png?x-oss-process=image/watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3FxXzQwMTgwMjI5,size_16,color_FFFFFF,t_70)
![在这里插入图片描述](https://img-blog.csdnimg.cn/20200622175837104.png?x-oss-process=image/watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3FxXzQwMTgwMjI5,size_16,color_FFFFFF,t_70)

你可能感兴趣的:(Spark,错误,spark,scala)