This is not a maven issue. You need to ask this question in GlassFish
forum ([email protected]). Have you tried deploying
by-passing verifier by turning off verifier flag? Does the app work? If
yes, I guess it is a false failure reported by verifier. In any case,
don't reply here. Ask your question in GlassFish forum.
Sahoo
dtiodtio wrote:
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
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]