CreationException: Unable to create injector, see the following errors:
1) Error in custom provider, java.lang.RuntimeException: javax.xml.bind.JAXBException: Implementation of JAXB-API has not been found on module path or classpath.
- with linked exception:
[java.lang.ClassNotFoundException: com.sun.xml.internal.bind.v2.ContextFactory]
while locating play.api.db.evolutions.ApplicationEvolutionsProvider
at play.api.db.evolutions.EvolutionsModule.<init>(EvolutionsModule.scala:21):
Binding(class play.api.db.evolutions.ApplicationEvolutions to ProviderConstructionTarget(class play.api.db.evolutions.ApplicationEvolutionsProvider) eagerly) (via modules: com.google.inject.util.Modules$OverrideModule -> play.api.inject.guice.GuiceableModuleConversions$$anon$4)
while locating play.api.db.evolutions.ApplicationEvolutions
I didn’t find something related to that in the migration guide. I am missing something?
I fixed the problem by adding these two dependencies
“org.glassfish.jaxb” % “jaxb-core” % “2.3.0.1”
“org.glassfish.jaxb” % “jaxb-runtime” % “2.3.2”