由Netbeans 6.8 build-impl.xml:166部署的Axis2 Web服务错误 [英] Axis2 web service deploying by Netbeans 6.8 build-impl.xml:166 error

查看:118
本文介绍了由Netbeans 6.8 build-impl.xml:166部署的Axis2 Web服务错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图像本教程一样使用Axis2 + Tom cat + Netbeans 6.8创建一个简单的Web服务.

I tried to create a simple web service using Axis2 + Tom cat + Netbeans 6.8 like this tutorial.

http://netbeans.org/kb/69/websvc/gs-axis.html#deploy_axis

,但是按照它所说的进行配置,并且在开发时会出现此错误:

but after all configured as it says and when developing it gives this error:

E:\ WorkDesk \ Java Projects \ MyWebservice \ MyWebservice \ nbproject \ build-impl.xml:166:必须设置src.dir 失败(总时间:0秒)

E:\WorkDesk\Java Projects\MyWebservice\MyWebservice\nbproject\build-impl.xml:166: Must set src.dir BUILD FAILED (total time: 0 seconds)

请帮助我解决此错误.非常感谢.

please help me out to fix this bug. thanks lot.

推荐答案

对于我们来说,未正确创建project.properties,这是在其中定义src.dir的地方.删除文件然后重新运行ant即可解决问题.

For us, the project.properties was not being created properly, which is where src.dir is defined. Deleting the file then rerunning ant fixed the problem.

这篇关于由Netbeans 6.8 build-impl.xml:166部署的Axis2 Web服务错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆