我照着x-4-7 这篇文章练习如何使用axis,我把类samples.capacity.Capacity放到%tomcat_home%\webapps\axis\samples\capacity目下,并照着例子写了一个deploy.wsdd文件,并部署成功,但是当我用ie访问
http://localhost:8080/axis/services/Capacity?wsdl页面的时候却出错:
AXIS error
Sorry, something seems to have gone wrong... here are the details:
Fault - ; nested exception is:
org.apache.axis.ConfigurationException: Could not find class for the service named: samples.capacity.Capacity
Hint: you may need to copy your class files/tree into the right location (which depends on the servlet system you are using).; nested exception is:
java.lang.ClassNotFoundException: samples.capacity.Capacity
...
请问我该如何处理,为什么找不到类呢
附:deploy.wsdd
<deployment xmlns="http://xml.apache.org/axis/wsdd/"
xmlns:java="http://xml.apache.org/axis/wsdd/providers/java">
<service name="Capacity" provider="java:RPC">
<parameter name="className" value="samples.capacity.Capacity"/>
<parameter name="allowedMethods" value="*"/>
</service>
</deployment>
--
FROM 202.108.235.*