【发布时间】:2013-06-09 07:45:07
【问题描述】:
我得到了tomcat启动异常
SEVERE: Servlet /WebServiceModule threw load() exception
java.lang.ClassNotFoundException: com.sun.jersey.spi.container.servlet.ServletContainer
在获得异常tomcat启动并正常工作后,但没有按预期工作。
我在 java 构建路径中包含了以下球衣及其依赖项
jersey-bundle-1.17
jaxb-imp-2.2.4
jaxb-api-2.2.9
asm-3.1
在 jersey bundle 库中 com.sun.jersey.spi.container.servlet 包存在并且它有 ServletContainer.class 文件。我正在使用 tomcat 7.0 服务器,所有工作都在 eclipse 中完成。
【问题讨论】: