I have a working Rest web service that use JBoss Resteasy however when I tried to port it to use GAE I'm getting this error when executing:
java.lang.ClassNotFoundException: org.jboss.resteasy.plugins.server.servlet.ResteasyBootstrap
I used resteasy successfully on GAE. As csturtz mentioned make sure your project has the resteasy dependency.
If yo uare using Maven this should be something like:
<dependency>
<groupId>org.jboss.resteasy</groupId>
<artifactId>resteasy-jaxrs</artifactId>
<version>${resteasy.version}</version>
</dependency>
And optionally you also would like to use:
<dependency>
<groupId>org.jboss.resteasy</groupId>
<artifactId>resteasy-hibernatevalidator-provider</artifactId>
<version>${resteasy.version}</version>
</dependency>
<dependency>
<groupId>org.jboss.resteasy</groupId>
<artifactId>resteasy-jackson-provider</artifactId>
<version>${resteasy.version}</version>
</dependency>
it would seem you're missing the Resteasy JAR file in your GAE WAR file. Locate this jar file, add it to your GAE WAR build, and you should be good to go (or at least past this specific error).
Is the resteasy jar file in /war/WEB-INF/lib ? It needs to be copied there AND put on your classpath.
来源:https://stackoverflow.com/questions/9629028/resteasy-with-google-app-engine