[SOLVED] ScalaTest: QuickStart code fails with java.lang.NoClassDefFoundError: scala/xml/NamespaceBinding
Harit Himanshu

Harit Himanshu @harittweets

About: I am hands-on software professional with more than a decade of experience in building and shipping products at companies of small to large sizes. contributed in Advertising,CleanTech,Security,FinTech

Location:
Victoria, BC
Joined:
Sep 3, 2019

[SOLVED] ScalaTest: QuickStart code fails with java.lang.NoClassDefFoundError: scala/xml/NamespaceBinding

Publish Date: Nov 22 '19
6 0

I am just starting out with ScalaTest and following http://www.scalatest.org/quick_start page

I followed the steps as outlined (by downloading the jar file linked above the code) and the code fails

 unittest vi ExampleSpec.scala
➜  unittest scalac -cp scalatest-app_2.13-3.0.8.jar ExampleSpec.scala
➜  unittest scala -cp scalatest-app_2.13-3.0.8.jar org.scalatest.run ExampleSpec
An exception or error

Comments 0 total

    Add comment