You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When trying to compile with Java 8, the compilation fails on swagger-generator:
[INFO] Compiling 1 source files to /home/miburman/projects/git/swagger-codegen/modules/swagger-generator/target/test-classes at 1426248936536
[ERROR] error: error while loading CharSequence, class file '/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.31-5.b13.fc21.x86_64/jre/lib/rt.jar(java/lang/CharSequence.class)' is broken
[INFO](class java.lang.RuntimeException/bad constant pool tag 18 at byte 10)
[ERROR] error: error while loading AnnotatedElement, class file '/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.31-5.b13.fc21.x86_64/jre/lib/rt.jar(java/lang/reflect/AnnotatedElement.class)' is broken
[INFO](class java.lang.RuntimeException/bad constant pool tag 18 at byte 76)
[ERROR] two errors found
This can at least be fixed by changing swagger-generator/pom.xml scala-test_2.10 -> scala-test_2.11 and scala.version from 2.10.0 to 2.11.0, but that generates some warnings on the compile (multiple Scala versions). However, as a workaround it works.
The text was updated successfully, but these errors were encountered:
Thanks @burmanm your hint worked for me. Can successfully build master now. Ibtw, i've spotted multiple declarations of the scala-version in the project root pom.xml there and there. Having a strong feeling that this cannot be intended...
When trying to compile with Java 8, the compilation fails on swagger-generator:
[INFO] Compiling 1 source files to /home/miburman/projects/git/swagger-codegen/modules/swagger-generator/target/test-classes at 1426248936536
[ERROR] error: error while loading CharSequence, class file '/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.31-5.b13.fc21.x86_64/jre/lib/rt.jar(java/lang/CharSequence.class)' is broken
[INFO](class java.lang.RuntimeException/bad constant pool tag 18 at byte 10)
[ERROR] error: error while loading AnnotatedElement, class file '/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.31-5.b13.fc21.x86_64/jre/lib/rt.jar(java/lang/reflect/AnnotatedElement.class)' is broken
[INFO](class java.lang.RuntimeException/bad constant pool tag 18 at byte 76)
[ERROR] two errors found
This can at least be fixed by changing swagger-generator/pom.xml scala-test_2.10 -> scala-test_2.11 and scala.version from 2.10.0 to 2.11.0, but that generates some warnings on the compile (multiple Scala versions). However, as a workaround it works.
The text was updated successfully, but these errors were encountered: