java - Eclipse 和 Apache Axis2 插件 Java Soap——找不到类

标签 java eclipse soap axis2

我安装了 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

alt text (不是同一个错误,我知道)

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/

相关文章:

java - 使用 SecureRandom 生成 AES key 和 IV 的替代方案

java - Google App Engine Java,无法访问本地主机!

java - Eclipse 调试 :Thread. exit() 行不存在

python - 记住方法调用之间的状态

web-services - SoapClient 无法识别我在 WSDL 中看到的函数

java - Android Marshmallow 和 Lollipop 中的文件下载失败

java - 如何在屏幕上的某个位置生成点击事件

java - 导入 java.util.zip.ZipOutputStream;导致打印到文件时出现问题

java - 如何将 Java 配置文件添加到 Eclipse 的 Papyrus 2.0.0 插件?

xml - XmlDictionaryReader 真的可以处理二进制 XML 吗?如果不是,那是什么?