问题
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