users@jersey.java.net

[Jersey] Why does Netbeans place jersey libs in straight Java EE 6 WAR?

From: Jan Algermissen <algermissen1971_at_mac.com>
Date: Tue, 24 Jan 2012 13:10:42 +0100

Hi,

sorry if this is slightly off-topic, but I figured that most of the knowledgeable and likely interested people are on this list.

I am working on a Java EE 6 application, using JAX-RS but no Jersey specific features. However, when I build the application, Netbeans includes jersey libraries in the WAR. When I deploy that WAR to JBoss 6 there seems to be a missing library:

"java.lang.ClassNotFoundException: com.sun.jersey.core.util.FeaturesAndProperties"

Does anyone know, whet the Jersey libs are included in the WAR and if I can keep netbeans from doing that?

Jan