My problem is that every time I run sbt run
, the server works until I refresh the page. After that, I get this in my terminal
Uncaught error from thread [play-dev-mode-akka.actor.default-dispatcher-3]: javax/xml/bind/DatatypeConverter, shutting down JVM since 'akka.jvm-exit-on-fatal-error' is enabled for for ActorSystem[play-dev-mode]
java.lang.NoClassDefFoundError: javax/xml/bind/DatatypeConverter
Since there's not much ressources about play and scala on the web, I really need guidance for this.
I resolved my issue with libraryDependencies += "javax.xml.bind" % "jaxb-api" % "2.1"
in my build.sbt
@Bask.ws was actually right, I needed JAXB.
You can checkout the Maven repository
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With