This week's giveaway is in the EJB and other Java EE Technologies forum.
We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan 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 EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "axis-java2wsdl task classpath problem" Watch "axis-java2wsdl task classpath problem" New topic
Author

axis-java2wsdl task classpath problem

hunter hu
Greenhorn

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

here is my build.xml


here is my file structure
--prj
|__ bin
| |__pkg
| |___TestService.class
|
|__ src
| |_ pkg
| |_TestService.java
|
|__build.xml



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: http://aspose.com/file-tools
 
subject: axis-java2wsdl task classpath problem
 
Similar Threads
Problems with ANT axis-java2wsdl
AXIS-JAVA2WSDL ClassNotFoundException
Java2WsdlAntTask cannot be found using the classloader AntClassLoader
Error using java2wsdl ant task
Axis 2 tutorial - client class compliation error