Grails下开发webservice

本文介绍了使用SpringSource Tool Suite开发接口过程中遇到的部署错误,详细描述了在将应用打包成WAR格式并部署到服务器时出现的具体错误信息,并提供了解决方案。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

我使用的是 SpringSource Tool Suite


具体开发接口步骤可以参考http://grails.org/Apache+Axis2+Plugin


我要说的是,在通过打包成war发布到服务器上时,会出现以下的错误:


Error 500:
Servlet: axis2
URI: /rtxtrans/services/ws
Exception Message: The system is attempting to engage a module that is not available: addressing
Caused by: javax.servlet.ServletException: org.apache.axis2.deployment.DeploymentException: The system is attempting to engage a module that is not available: addressing
Class: Unknown
At Line: [-1]

 

解决方法将  开发环境的tomcat下的C:\Documents and Settings\Administrator\.grails\1.3.5\projects\rtxtrans\plugins \axis2-0.7.0\lib中的addressing-1.41和rampart-1.4手工拷贝到运行环境的lib下

可能需要重新启动

 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值