Hi folks,
I'm trying to use the embedded glassfish test container in my non-maven
project with Jersey 1.5 & GF3.1 by specifying
-Djersey.test.containerFactory=com.sun.jersey.test.framework.spi.container.embedded.glassfish.EmbeddedGlassFishTestContainerFactory
but I must be missing a dependency. When I run my test I get the following
exception:
java.lang.NoClassDefFoundError: org/glassfish/embed/EmbeddedException
at
com.sun.jersey.test.framework.spi.container.embedded.glassfish.EmbeddedGlassFishTestContainerFactory.create(EmbeddedGlassFishTestContainerFactory.java:82)
at
com.sun.jersey.test.framework.JerseyTest.getContainer(JerseyTest.java:338)
at com.sun.jersey.test.framework.JerseyTest.<init>(JerseyTest.java:213)
at com.sun.jersey.test.framework.JerseyTest.<init>(JerseyTest.java:231)
Can anyone point me in the right direction?
Thnx,
-Noah