l**********n 发帖数: 8443 | 1 Somebody has idea on the following error:
Information:Compilation completed with 1 error and 8 warnings in 2 sec
Information:1 error
Information:8 warnings
Error:scalac: Error: org.jetbrains.jps.incremental.scala.remote.
ServerException
Error compiling sbt component 'compiler-interface-2.9.1.final-52.0'
at sbt.compiler.AnalyzingCompiler$$anonfun$compileSources$1$$anonfun$
apply$2.apply(AnalyzingCompiler.scala:145)
at sbt.compiler.AnalyzingCompiler$$anonfun$compileSources$1$$anonfun$
apply$2.apply(AnalyzingCompiler.scala:142)
at sbt.IO$.withTemporaryDirectory(IO.scala:285)
at sbt.compiler.AnalyzingCompiler$$anonfun$compileSources$1.apply(
AnalyzingCompiler.scala:142)
at sbt.compiler.AnalyzingCompiler$$anonfun$compileSources$1.apply(
AnalyzingCompiler.scala:139)
at sbt.IO$.withTemporaryDirectory(IO.scala:285)
at sbt.compiler.AnalyzingCompiler$.compileSources(AnalyzingCompiler.
scala:139)
at sbt.compiler.IC$.compileInterfaceJar(IncrementalCompiler.scala:33)
at org.jetbrains.jps.incremental.scala.local.CompilerFactoryImpl$.org$
jetbrains$jps$incremental$scala$local$CompilerFactoryImpl$$
getOrCompileInterfaceJar(CompilerFactoryImpl.scala:86)
at org.jetbrains.jps.incremental.scala.local.CompilerFactoryImpl$$
anonfun$getScalac$1.apply(CompilerFactoryImpl.scala:43)
at org.jetbrains.jps.incremental.scala.local.CompilerFactoryImpl$$
anonfun$getScalac$1.apply(CompilerFactoryImpl.scala:42)
at scala.Option.map(Option.scala:145)
at org.jetbrains.jps.incremental.scala.local.CompilerFactoryImpl.
getScalac(CompilerFactoryImpl.scala:42)
at org.jetbrains.jps.incremental.scala.local.CompilerFactoryImpl.
createCompiler(CompilerFactoryImpl.scala:21)
at org.jetbrains.jps.incremental.scala.local.CachingFactory$$anonfun$
createCompiler$1.apply(CachingFactory.scala:23)
at org.jetbrains.jps.incremental.scala.local.CachingFactory$$anonfun$
createCompiler$1.apply(CachingFactory.scala:23)
at org.jetbrains.jps.incremental.scala.local.Cache$$anonfun$getOrUpdate$
2.apply(Cache.scala:20)
at scala.Option.getOrElse(Option.scala:120)
at org.jetbrains.jps.incremental.scala.local.Cache.getOrUpdate(Cache.
scala:19)
at org.jetbrains.jps.incremental.scala.local.CachingFactory.
createCompiler(CachingFactory.scala:22)
at org.jetbrains.jps.incremental.scala.local.LocalServer.compile(
LocalServer.scala:22)
at org.jetbrains.jps.incremental.scala.remote.Main$.make(Main.scala:64)
at org.jetbrains.jps.incremental.scala.remote.Main$.nailMain(Main.scala:
22)
at org.jetbrains.jps.incremental.scala.remote.Main.nailMain(Main.scala)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(
DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:483)
at com.martiansoftware.nailgun.NGSession.run(NGSession.java:319)
Warning:scalac: error: error while loading CharSequence, class file 'C:
Program FilesJavajdk1.8.0_20jrelibrt.jar(java/lang/CharSequence.class)' is
broken
(bad constant pool tag 15 at byte 1501)
Warning:scalac: error: error while loading AnnotatedElement, class file 'C:
Program FilesJavajdk1.8.0_20jrelibrt.jar(java/lang/reflect/AnnotatedElement.
class)' is broken
(bad constant pool tag 15 at byte 2713)
Warning:scalac: error: error while loading Arrays, class file 'C:Program
FilesJavajdk1.8.0_20jrelibrt.jar(java/util/Arrays.class)' is broken
(bad constant pool tag 15 at byte 12817)
Warning:scalac: error: error while loading Comparator, class file 'C:Program
FilesJavajdk1.8.0_20jrelibrt.jar(java/util/Comparator.class)' is broken
(bad constant pool tag 15 at byte 5003)
Warning:scalac: C:UsersAdminAppDataLocalTempsbt_e205ae2ExtractAPI.scala:489:
error: java.util.Comparator does not take type parameters
Warning:scalac: private[this] val sortClasses = new Comparator[Symbol] {
Warning:scalac: ^
Warning:scalac: 5 errors found | D***n 发帖数: 6804 | | l**********n 发帖数: 8443 | 3 problem solved by changing Java_Home to Java 7 rather Java 8 | n*****3 发帖数: 1584 | 4 look at these error message, sometime scala's , sometime JVM related,
sometime spark's stuff, really really annoying
【在 l**********n 的大作中提到】 : problem solved by changing Java_Home to Java 7 rather Java 8
| z****e 发帖数: 54598 | 5 Program FilesJavajdk1.8.0_20jrelibrt.jar(java/lang/CharSequence.class)' is
broken
不错了,至少问题可以看出来
【在 n*****3 的大作中提到】 : look at these error message, sometime scala's , sometime JVM related, : sometime spark's stuff, really really annoying
|
|