INFO: Cannot inject com.sun.enterprise.module.bootstrap.StartupContext
org.glassfish.config.support.DomainXml.context in component
org.glassfish.kernel.embedded.EmbeddedDomainXml_at_19da4fc
org.jvnet.hk2.component.UnsatisfiedDependencyException: Unsatisfied dependency
exception : com.sun.enterprise.module.bootstrap.StartupContext
org.glassfish.config.support.DomainXml.context
at
org.jvnet.hk2.component.InjectionManager.inject(InjectionManager.java:116)
at
org.jvnet.hk2.component.InjectionManager.inject(InjectionManager.java:66)
at com.sun.hk2.component.AbstractWombImpl.inject(AbstractWombImpl.java:170)
at com.sun.hk2.component.ConstructorWomb$1.run(ConstructorWomb.java:87)
at java.security.AccessController.doPrivileged(Native Method)
at
com.sun.hk2.component.ConstructorWomb.initialize(ConstructorWomb.java:84)
at com.sun.hk2.component.AbstractWombImpl.get(AbstractWombImpl.java:77)
at
com.sun.hk2.component.SingletonInhabitant.get(SingletonInhabitant.java:58)
at
com.sun.hk2.component.AbstractInhabitantImpl.get(AbstractInhabitantImpl.java:60)
at org.jvnet.hk2.component.Habitat$5.get(Habitat.java:642)
at java.util.AbstractList$Itr.next(AbstractList.java:345)
at
com.sun.enterprise.module.common_impl.AbstractModulesRegistryImpl.populateConfig(AbstractModulesRegistryImpl.java:158)
at
com.sun.enterprise.module.common_impl.AbstractModulesRegistryImpl.createHabitat(AbstractModulesRegistryImpl.java:144)
at
com.sun.enterprise.glassfish.bootstrap.ASEmbedded$EmbeddedMain.createHabitat(ASEmbedded.java:115)
at com.sun.enterprise.module.bootstrap.Main.launch(Main.java:310)
at com.sun.enterprise.module.bootstrap.Main.launch(Main.java:304)
at
com.sun.enterprise.glassfish.bootstrap.ASEmbedded.start(ASEmbedded.java:94)
at org.glassfish.api.embedded.Server.<init>(Server.java:313)
at org.glassfish.api.embedded.Server.<init>(Server.java:75)
at org.glassfish.api.embedded.Server$Builder.build(Server.java:185)
at org.glassfish.api.embedded.Server$Builder.build(Server.java:167)
at
org.glassfish.distributions.test.EmbeddedTest.setup(EmbeddedTest.java:86)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
org.junit.internal.runners.BeforeAndAfterRunner.invokeMethod(BeforeAndAfterRunner.java:74)
at
org.junit.internal.runners.BeforeAndAfterRunner.runBefores(BeforeAndAfterRunner.java:50)
at
org.junit.internal.runners.BeforeAndAfterRunner.runProtected(BeforeAndAfterRunner.java:33)
at org.junit.internal.runners.TestClassRunner.run(TestClassRunner.java:52)
at
org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:62)
at
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:140)
at
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:165)
at org.apache.maven.surefire.Surefire.run(Surefire.java:107)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:289)
at
org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1005)
Caused by: org.jvnet.hk2.component.UnsatisfiedDependencyException: Unsatisfied
dependency exception : com.sun.enterprise.module.bootstrap.StartupContext
org.glassfish.config.support.DomainXml.context
at
org.jvnet.hk2.component.InjectionManager.inject(InjectionManager.java:111)
... 39 more
Stopping server null