WSServlet找不到异常 [英] WSServlet not found exception

查看:94
本文介绍了WSServlet找不到异常的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我正在使用jboss 6,启动服务器时出现以下异常.
有什么主意吗?

java.lang.ClassNotFoundException:com.sun.xml.ws.transport.http.servlet.WSServlet

Hi

i am using jboss 6 , i am getting the follwing exception when i start the server.
any idea?

java.lang.ClassNotFoundException: com.sun.xml.ws.transport.http.servlet.WSServlet

推荐答案

java.lang.ClassNotFoundException
当应用程序尝试使用以下字符串名称通过其字符串名称加载类时抛出该错误: -类Class中的forName方法.
-类ClassLoader中的findSystemClass方法.
-类ClassLoader中的loadClass方法.
但是找不到具有指定名称的类的定义.

请参考: Class ClassNotFoundException [
java.lang.ClassNotFoundException
Thrown when an application tries to load in a class through its string name using:
- The forName method in class Class.
- The findSystemClass method in class ClassLoader .
- The loadClass method in class ClassLoader.
but no definition for the class with the specified name could be found.

Refer: Class ClassNotFoundException[^]


我如何通过在服务器位置处理webservice-rt.jar文件解决问题.
any how i solved the issue by coping webservice-rt.jar fie in server location.


这篇关于WSServlet找不到异常的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆