com.google.inject.ProvisionException

Guice provision errors: 1) Error injecting constructor, java.lang.NoClassDefFoundError: org/w3c/dom/ElementTraversal at com.objecteffects.template.web.ApplicationInitializer.<init>(ApplicationInitializer.java:17) while locating com.objecteffects.template.web.ApplicationInitializer for field at com.objecteffects.template.web.TestNamedEntityService.applicationInitializer(TestNamedEntityService.java:28) while locating com.objecteffects.template.web.TestNamedEntityService 1 error at com.google.inject.internal.Errors.throwProvisionExceptionIfErrorsExist(Errors.java:451) at com.google.inject.internal.MembersInjectorImpl.injectMembers(MembersInjectorImpl.java:65) at com.google.inject.internal.InjectorImpl.injectMembers(InjectorImpl.java:944) at com.google.guiceberry.GuiceBerryUniverse$TestCaseScaffolding.injectMembersIntoTest(GuiceBerryUniverse.java:171) at com.google.guiceberry.GuiceBerryUniverse$TestCaseScaffolding.runBeforeTest(GuiceBerryUniverse.java:117) at com.google.guiceberry.junit4.GuiceBerryRule$1.evaluate(GuiceBerryRule.java:54)

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web400

  • via sourceforge.net by Unknown author, 11 months ago
    Guice provision errors: 1) Error injecting constructor, java.lang.NoClassDefFoundError: org/w3c/dom/ElementTraversal at com.objecteffects.template.web.ApplicationInitializer.<init>(ApplicationInitializer.java:17) while locating
  • via sourceforge.net by Unknown author, 11 months ago
    Guice provision errors: 1) Error injecting constructor, java.lang.NoClassDefFoundError: org/w3c/dom/ElementTraversal at com.objecteffects.template.web.ApplicationInitializer.<init>(ApplicationInitializer.java:17) while locating
  • via sourceforge.net by Unknown author, 1 year ago
    Guice provision errors: 1) Error injecting constructor, java.lang.NoClassDefFoundError: org/w3c/dom/ElementTraversal at com.objecteffects.template.web.ApplicationInitializer.<init>(ApplicationInitializer.java:17) while locating
  • Stack trace

    • com.google.inject.ProvisionException: Guice provision errors: 1) Error injecting constructor, java.lang.NoClassDefFoundError: org/w3c/dom/ElementTraversal at com.objecteffects.template.web.ApplicationInitializer.<init>(ApplicationInitializer.java:17) while locating com.objecteffects.template.web.ApplicationInitializer for field at com.objecteffects.template.web.TestNamedEntityService.applicationInitializer(TestNamedEntityService.java:28) while locating com.objecteffects.template.web.TestNamedEntityService 1 error at com.google.inject.internal.Errors.throwProvisionExceptionIfErrorsExist(Errors.java:451) at com.google.inject.internal.MembersInjectorImpl.injectMembers(MembersInjectorImpl.java:65) at com.google.inject.internal.InjectorImpl.injectMembers(InjectorImpl.java:944) at com.google.guiceberry.GuiceBerryUniverse$TestCaseScaffolding.injectMembersIntoTest(GuiceBerryUniverse.java:171) at com.google.guiceberry.GuiceBerryUniverse$TestCaseScaffolding.runBeforeTest(GuiceBerryUniverse.java:117) at com.google.guiceberry.junit4.GuiceBerryRule$1.evaluate(GuiceBerryRule.java:54) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    You’re the first here who have seen this exception.