请教axis2的一个问题,部署后点击示例的version都报错,请各位大侠帮助解答一下

kelly859 2008-04-13 05:06:03
环境:jdk1.5.0_11
Tomcat 5.0


先是从网上找了N个示例,部署都有问题,就是生成不了WSDL文件,如下
- <error>
<description>Unable to generate WSDL for this service</description>
<reason>Either user has not dropped the wsdl into META-INF or operations use message receivers other than RPC.</reason>
</error>

后来想点点那个version看能不能生成WSDL文件,结果直接报了下面的异常
type Exception report

message

description The server encountered an internal error () that prevented it from fulfilling this request.

exception

javax.servlet.ServletException: Servlet execution threw an exception


root cause

javax.xml.transform.TransformerFactoryConfigurationError: Provider org.apache.xalan.processor.TransformerFactoryImpl not found
javax.xml.transform.TransformerFactory.newInstance(Unknown Source)
org.apache.ws.commons.schema.XmlSchema.serialize_internal(XmlSchema.java:214)
org.apache.ws.commons.schema.XmlSchema.write(XmlSchema.java:200)
org.apache.axis2.description.AxisService2OM.generateOM(AxisService2OM.java:147)
org.apache.axis2.description.AxisService.getWSDL(AxisService.java:553)
org.apache.axis2.description.AxisService.printWSDL(AxisService.java:533)
org.apache.axis2.transport.http.ListingAgent.processListService(ListingAgent.java:144)
org.apache.axis2.transport.http.ListingAgent.handle(ListingAgent.java:89)
org.apache.axis2.transport.http.AxisServlet.doGet(AxisServlet.java:109)
javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)


note The full stack trace of the root cause is available in the Apache Tomcat/5.0.28 logs.

有没有那位大侠遇到过这样的问题或者知道是什么地方错了,请帮帮小弟,心里很急
AXIS_HOME等环境变量都是设置好了的
...全文
111 2 打赏 收藏 转发到动态 举报
写回复
用AI写文章
2 条回复
切换为时间正序
请发表友善的回复…
发表回复
kelly859 2008-04-15
  • 打赏
  • 举报
回复
大哥,昨天电脑中毒来不及感谢

谢了
老紫竹 2008-04-13
  • 打赏
  • 举报
回复
xalan.jar 加到你的buildpath 里面

你缺少这个类库

67,513

社区成员

发帖
与我相关
我的任务
社区描述
J2EE只是Java企业应用。我们需要一个跨J2SE/WEB/EJB的微容器,保护我们的业务核心组件(中间件),以延续它的生命力,而不是依赖J2SE/J2EE版本。
社区管理员
  • Java EE
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧