Skip to content

Bad symbolic reference to a Scala 2 symbol #7157

Closed
@nicolasstucki

Description

@nicolasstucki

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions