NoClassDefFoundError with sbt and scala.swing
问题 I'm new to JVM land so I apologize if this is a common problem. I'm using Scala (2.12) with sbt 0.13.13 on OSX. I'm working on a tiny app that depends on the GUI library scala.swing (2.10.x). I ran into a runtime issue almost immediately with example code (http://otfried.org/scala/index_28.html). Specifically, when invoking sbt run I get a stacktrace leading with: [error] (run-main-0) java.lang.NoClassDefFoundError: scala/Proxy$class java.lang.NoClassDefFoundError: scala/Proxy$class at scala