Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Play Framework - dev server shutting down after refreshing

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.

like image 642
Azoulay Jason Avatar asked Sep 27 '17 14:09

Azoulay Jason


1 Answers

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

like image 69
Azoulay Jason Avatar answered Nov 13 '22 15:11

Azoulay Jason