Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bad symbolic reference to a Scala 2 symbol #7157

Closed
nicolasstucki opened this issue Sep 2, 2019 · 1 comment
Closed

Bad symbolic reference to a Scala 2 symbol #7157

nicolasstucki opened this issue Sep 2, 2019 · 1 comment

Comments

@nicolasstucki
Copy link
Contributor

minimized code

Updating xml-interpolator to 0.18.1-RC1 is failing to load some symbol from scala-parser-combinators and scala-xml.

[error] Bad symbolic reference. A signature in /Users/nicolasstucki/.ivy2/cache/org.scala-lang.modules/scala-xml_2.12/bundles/scala-xml_2.12-1.2.0.jar(scala/xml/Null.class)
[error] refers to Serializable/T in package scala which is not available.
[error] It may be completely missing from the current classpath, or the version on
[error] the classpath might be incompatible with the version used when compiling /Users/nicolasstucki/.ivy2/cache/org.scala-lang.modules/scala-xml_2.12/bundles/scala-xml_2.12-1.2.0.jar(scala/xml/Null.class).
...
[error] Bad symbolic reference. A signature in /Users/nicolasstucki/.ivy2/cache/org.scala-lang.modules/scala-parser-combinators_2.12/bundles/scala-parser-combinators_2.12-1.1.2.jar(scala/util/parsing/input/OffsetPosition.class)
[error] refers to Serializable/T in package scala which is not available.
[error] It may be completely missing from the current classpath, or the version on
[error] the classpath might be incompatible with the version used when compiling /Users/nicolasstucki/.ivy2/cache/org.scala-lang.modules/scala-parser-combinators_2.12/bundles/scala-parser-combinators_2.12-1.1.2.jar(scala/util/parsing/input/OffsetPosition.class).

Note that it is trying to load the scala 2.12 version of those libraries. This might be related with the update to the 2.13 library in #7019. I would have expected the dependencies of scala-parser-combinators and scala-xml to be 2.13.

See

@nicolasstucki
Copy link
Contributor Author

Actually the sbt-plugin needed an update

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant