参考:http://stackoverflow.com/questions/24559236/object-xml-is-not-a-member-of-package-scala
Scala-XML has been factored out into a separate library as of Scala 2.11, so it is not included in Scala projects by default. To include it in your project via sbt add this dependency:
libraryDependencies += "org.scala-lang.modules" %% "scala-xml" % "1.0.2"