Play Framework - disable server after upgrade

My problem is that every time I start sbt run, the server is running until I refresh the page. After that I get it 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 are not many resources on the Internet for games and scala, I really need a guide for this.

+4
source share
1 answer

I solved the problem with libraryDependencies += "javax.xml.bind" % "jaxb-api" % "2.1"in my build.sbt file

@ Bask.ws was actually right, I need JAXB.

You can check Maven repository

+6
source

Source: https://habr.com/ru/post/1686484/


All Articles