Axis2 web service deploying by Netbeans 6.8 build-impl.xml:166 error

谁都会走 提交于 2020-01-06 07:16:18

问题


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: Must set src.dir BUILD FAILED (total time: 0 seconds)

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


回答1:


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.



来源:https://stackoverflow.com/questions/11113528/axis2-web-service-deploying-by-netbeans-6-8-build-impl-xml166-error

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!