Maven: Including libraries built by SBT
What I learned today — 12 April 2018
1 min readApr 12, 2018
Be cautious when including libraries built by Scala Build Tool (SBT). When using a number of these libraries make sure that the version of the Scala libraries that comes bundled with them is consistent, otherwise you may run into strange class loader issues because there may be different versions of the same class on the class path.
java.lang.NoSuchMethodError: scala.Some.value()Ljava/lang/Object;
Libraries built with SBT are usually suffixed by _<Scala epoch version>
Make sure that the suffix matches the Scala version you wish to use in your system. If it is different you will end up with two conflicting versions of Scala.