Grails下开发webservice

我使用的是 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下

可能需要重新启动

 

你可能感兴趣的:(apache,tomcat,webservice,servlet,grails)