error: java.lang.NoSuchMethodError: scala.collection.immutable.$colon$colon.tl$1()Lscala/collection/immutable/List;
[INFO] at com.softwaremill.macwire.internals.EligibleValuesFinder.com$softwaremill$macwire$internals$EligibleValuesFinder$$doFind$1
(EligibleValuesFinder.scala:20)
Well without info on what caused the error, we also won’t be able to help.
However, this doesn’t look like a compilation error but rather as a runtime exception. And one that usually happens when mixing Scala versions.
I am running mvn clean install command for the project that was implemented using scala 2.11 and now trying to upgrade it to 2.12.19.
And I am getting this error.
Did you updated all your libraries to also use Scala 2.12
?
1 Like
Thank you for the suggestion. I have updated all related supporting dependencies and forgot to update the maven scala plugin. I have updated it and the build was successful and it is running good
2 Likes