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)

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

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
via sourceforge.net by Unknown author, 2 years 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, 2 years 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
via sourceforge.net by Unknown author, 2 years 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
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)

Users with the same issue

You are the first who have seen this exception.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.