我遇到了以下异常:
我在WEB/INF/lib文件夹中看到了resteasy-jaxrs-2.3.0.GA.jar,请告诉我缺少哪个依赖项。 我还查看了获取Eclipse+jboss 5.1.0中的"java.lang.ClassNotFoundException: javax.servlet.http.HttpServlet",并已经全部准备好了。
我还遇到了以下错误:
java.lang.ClassNotFoundException: org.jboss.resteasy.plugins.server.servlet.ResteasyBootstrap
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1711)
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1556)
at org.apache.catalina.core.DefaultInstanceManager.loadClass(DefaultInstanceManager.java:525)
at org.apache.catalina.core.DefaultInstanceManager.loadClassMaybePrivileged(DefaultInstanceManager.java:507)
at org.apache.catalina.core.DefaultInstanceManager.newInstance(DefaultInstanceManager.java:124)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4715)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5273)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1566)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1556)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
at java.util.concurrent.FutureTask.run(FutureTask.java:166)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
at java.lang.Thread.run(Thread.java:722)
我在我的pom文件中有以下依赖项:
<dependency>
<groupId>org.jboss.resteasy</groupId>
<artifactId>resteasy-spring</artifactId>
<version>${resteasy.version}</version><!--$NO-MVN-MAN-VER$ -->
</dependency>
<dependency>
<groupId>org.jboss.resteasy</groupId>
<artifactId>resteasy-jaxrs</artifactId>
<version>2.3.0.GA</version>
</dependency>
我在WEB/INF/lib文件夹中看到了resteasy-jaxrs-2.3.0.GA.jar,请告诉我缺少哪个依赖项。 我还查看了获取Eclipse+jboss 5.1.0中的"java.lang.ClassNotFoundException: javax.servlet.http.HttpServlet",并已经全部准备好了。
我还遇到了以下错误:
SEVERE: Error configuring application listener of class org.jboss.resteasy.plugins.spring.SpringContextLoaderListener
java.lang.ClassNotFoundException: org.jboss.resteasy.plugins.spring.SpringContextLoaderListener
尽管存在以下依赖:
<dependency>
<groupId>org.jboss.resteasy</groupId>
<artifactId>resteasy-spring</artifactId>
<version>${resteasy.version}</version>
</dependency>