I have war[ejb, jpa, web, webservices, weld](StatelessSessionBean,
Servlet, SingletonSessionBean) which work on GlassFish Server Open
Source Edition 3.1.2.2 (build 5).
I'm trying to write JUnit tests for REST with embedded glassfish, but
application won't start because of error:
SEVERE: WebModule[/portal-api-server]StandardWrapper.Throwable
java.lang.NoSuchMethodError:
com.sun.jersey.core.reflection.ReflectionHelper.classForNameWithException(Ljava/lang/String;)Ljava/lang/Class;
at
com.sun.jersey.spi.container.servlet.WebComponent.createResourceConfig(WebComponent.java:720)
at
com.sun.jersey.spi.container.servlet.WebComponent.createResourceConfig(WebComponent.java:687)
...
Any idea, what could be wrong?
Regards, Tomaz