我安装了 eclipse 3.5.1 以及 apache axis2 插件......
我正在尝试通过 file -> new-> axis2 service archiver
...
生成我的网络服务
我完成这些步骤并选择我的项目的 bin 目录,当我到达最后一步并输入类的名称并单击加载时,它显示“Error: Class not found
”
我已经尝试了路径等的每一种组合。不确定下一步该怎么做。
尝试构建单个 soap 服务似乎非常令人头疼……任何建议……
我期待只需要编写类并运行它来开发 SOAP 服务。
最佳答案
具体缺少什么类?
你有没有关注 guide like this one ?
最初我使用 Axis2 Codegen Wizard 和 Axis2 Service Archiver。最初我得到的错误对话框很少,比如 java.lang.reflect.InvocationTargetException
(不是同一个错误,我知道)
Though I found out way to fix it by adding few jars to the lib folder of the pluggin and modifying the
pluggin.xml
, it was not really useful as it just generate the required files and there was no possibility I could find to debus the services.
(指南的其余部分描述了他的开发环境)
您也有同样想法的指南:“Writing Apache Axis 2 webservice using Tomcat and eclipse ”
关于java - Eclipse 和 Apache Axis2 插件 Java Soap——找不到类,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/3710932/