This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Web Services and the fly likes axis-java2wsdl task classpath problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "axis-java2wsdl task classpath problem" Watch "axis-java2wsdl task classpath problem" New topic

axis-java2wsdl task classpath problem

hunter hu

Joined: Mar 23, 2010
Posts: 8
Hey Guys,

here is my build.xml

here is my file structure
|__ bin
| |__pkg
| |___TestService.class
|__ src
| |_ pkg
| |

I still get ClassNotFoundException: TestService.

Can anybody tell me how to fix it? I need run it through ant task.

shivendra tripathi
Ranch Hand

Joined: Aug 26, 2008
Posts: 263
I think your compile class path should be dir='./bin and class name should be pkg.TestService

SCJP 1.5(97%) My Blog
I agree. Here's the link:
subject: axis-java2wsdl task classpath problem
Similar Threads
Error using java2wsdl ant task
Java2WsdlAntTask cannot be found using the classloader AntClassLoader
AXIS-JAVA2WSDL ClassNotFoundException
Problems with ANT axis-java2wsdl
Axis 2 tutorial - client class compliation error