Couldn't compile xml in scala with sbt (Scala-xml_2.12)
Hello, everyone
By referring to the previous posts, I added "libraryDependencies += "org.scala-lang.modules" %% "scala-xml" % "1.2.0"" and updated the sbt. It still couldn't compile the XML file--the error was "To compile XML syntax, the scala.xml package must be on the classpath."
I also manually added the scala_xml jar to my intellij classpath. Still, the error persisted. I request you to help me with this.
Note: I tried all the tricks such as "invalidate cache/restart,sbt clean, etc. ". And, I have attached my sbt , the error and the classpath screenshot.
Classpath:
Sbt:
Error:
Please sign in to leave a comment.