我正在尝试在 Eclipse 中使用 axis2 实现 Web 服务。 (我下载了 axis2-1.5 运行时并为其创建了环境变量。)我创建了一个动态 Web 项目并在 Axis2 首选项中成功设置了 axis2 运行时。
创建项目后,我尝试设置项目方面,但最终收到以下错误:安装 Axis2 Web 服务核心 1.1 时失败
Stack 仅显示:NullPointerException(这对我理解问题没有多大帮助)。 Wat可能是问题所在?否则,很难使用 axis2 测试 Web 服务。
最佳答案
这个问题在 eclipse 论坛上有很好的记录。它似乎与旧版本的 axis2 有关。
有人怀疑,这与工作区配置有关。有一个建议听起来很有希望:
I found the solution for this problem. After conf. the apache tomcat and Axis2 just create new workspace and the error will not be occur again.
进一步阅读:
关于在eclipse中配置axis2时出现java空指针异常,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/9937790/