由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Programming版 - scala最烦人的是build太不容易了
相关主题
一个关于在 cygwin 中使用 R 的问题 (转载)A question about class size
c的小问题help!无法编译一个package
[合集] 讨厌的WARNING: 在 MANAGED C++ 中写东东Question about a C++ compilation error on Visual Studio 2005
问python高手一个问题vc 2008: compilation error about header file
急问高手一个问题:请问如何对付error C2148问题:陣列的總大小不能超過 0x7fffffff 位元組
perl eval and ifC puzzle 一日一题
请教C++里面这个表达这次Scala学Clojure有点不地道了
Pycharm 能不能把某个Editor Warning/Error 注释成OK?Scala.js is no longer experimental
相关话题的讨论汇总
话题: anonfun话题: error话题: scalac话题: warning
进入Programming版参与讨论
1 (共1页)
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

1 (共1页)
进入Programming版参与讨论
相关主题
Scala.js is no longer experimental急问高手一个问题:
参加scala days的唯一感受perl eval and if
rust现在很火请教C++里面这个表达
Java里面能 extends Scala object的abstract inner class吗?Pycharm 能不能把某个Editor Warning/Error 注释成OK?
一个关于在 cygwin 中使用 R 的问题 (转载)A question about class size
c的小问题help!无法编译一个package
[合集] 讨厌的WARNING: 在 MANAGED C++ 中写东东Question about a C++ compilation error on Visual Studio 2005
问python高手一个问题vc 2008: compilation error about header file
相关话题的讨论汇总
话题: anonfun话题: error话题: scalac话题: warning