Skip to content

Issue while compiling the project. #1

@ankur-1989

Description

@ankur-1989

@vineethk
Hello Vineeth,
As part of my research, I was actually using this project for the evaluation of my research but when I am compiling this project, it is giving me some errors. Could you please help me in a direction How can I resolve this?

[info] Loading settings for project global-plugins from idea.sbt,plugins.sbt ...
[info] Loading global plugins from /home/ankur/.sbt/1.0/plugins
[info] Loading project definition from /home/type-refine/project
[info] Loading settings for project type-refine from build.sbt ...
[info] Set current project to JSAI (in build file: /home/type-refine/)
[info] Executing in batch mode. For better performance use sbt's shell
[info] Compiling 49 Scala sources to /home/type-refine/target/scala-2.10/classes ...
[info] Non-compiled module 'compiler-bridge_2.10' for Scala 2.10.1. Compiling...
error: error while loading CharSequence, class file '/usr/lib/jvm/java-8-oracle/jre/lib/rt.jar(java/lang/CharSequence.class)' is broken
(class java.lang.RuntimeException/bad constant pool tag 18 at byte 10)
error: error while loading Comparator, class file '/usr/lib/jvm/java-8-oracle/jre/lib/rt.jar(java/util/Comparator.class)' is broken
(class java.lang.RuntimeException/bad constant pool tag 18 at byte 20)
error: error while loading AnnotatedElement, class file '/usr/lib/jvm/java-8-oracle/jre/lib/rt.jar(java/lang/reflect/AnnotatedElement.class)' is broken
(class java.lang.RuntimeException/bad constant pool tag 18 at byte 76)
error: error while loading Arrays, class file '/usr/lib/jvm/java-8-oracle/jre/lib/rt.jar(java/util/Arrays.class)' is broken
(class java.lang.RuntimeException/bad constant pool tag 18 at byte 765)
/tmp/sbt_faed9a5f/xsbt/ExtractAPI.scala:710: error: java.util.Comparator does not take type parameters
private[this] val sortClasses = new Comparator[Symbol] {
^
5 errors found
[info] Attempting to fetch org.scala-sbt:compiler-bridge_2.10:1.2.4.
[error] (Compile / compileIncremental) Error compiling the sbt component 'compiler-bridge_2.10'
[error] Total time: 6 s, completed Mar 23, 2019 2:52:32 AM

Thanks and Regards,
Ankur Gupta

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions