Hello,

I recently converted from ant to maven and I'm now trying to deploy to
GlassFish the Maven .war of a multimodule project. The .war file is built
successfully with its dependencies (using the NetBeans IDE) and deployed
using the GlassFish Admin Console (still don't have the hang of deploying
through NetBeans using plugins). However, deployment fails with the given
server.log message (as produced by checking the Verifier flag in the Admin
Console):

Failed to find following classes:
[
    javax.ws.rs.core.ApplicationConfig
]

referenced in the following call stack :

    at com.sun.jersey.api.core.ResourceConfig
    at com.sun.jersey.api.core.DefaultResourceConfig
    at com.sun.jersey.api.core.ApplicationConfigAdapter
    at com.sun.jersey.spi.container.servlet.ServletContainer

However, I have the following entry

    <dependency>
      <groupId>javax.ws.rs</groupId>
      <artifactId>jsr311-api</artifactId>
      <version>1.1</version>
      <scope>compile</scope>
    </dependency>

in the .war pom.xml

Is this a bug or am I doing something wrong?

Thanks in advance

Dimitris

Reply via email to