Updating to scala 2.11.12

Hi Team, I am new to scala, I updated scala version from 2.10.4 to 2.11.12. because of that I also had to update some of the libraries.

I did update one of the libs from
“org.scalaz” % “scalaz-core_2.10” % “6.0.4”,
“org.scalaz” %% “scalaz-core” % “7.3.3”,

tHowever, it fails during compilation with the following error.

Symbol ‘type scalaz.CharSet’ is missing from the classpath.
[error] This symbol is required by ‘value sc.ByteString.enc’.
[error] Make sure that type CharSet is in your classpath and check for conflicting dependencies with -Ylog-classpath.
[error] A full rebuild may help if ‘ByteString.class’ was compiled against an incompatible version of scalaz.
[error] .setCategory(category.toString())


Is sc.ByteString a class in your project, or is from a library (scodec?). If it’s a library, you probably need to update the version of that library, too.

If it is a class in your project:

I am not familiar with scalaz at all, but it seems the class scalaz.CharSet that existed in version 6 (see scalaz/CharSet.scala at release/6.0.4 · scalaz/scalaz · GitHub) does not exist anymore in version 7.3.3.

It seems it got deprecated in version 7.1 7.1.0 · scalaz/scalaz Wiki · GitHub

In that case, maybe you could first update to the latest 7.1 release:
“org.scalaz” % “scalaz-core_2.10” % “7.1.17”