You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Suzy Fynes <su...@sentenial.ie> on 2004/10/14 13:40:56 UTC
axis Cant find class
Hey,
I'm getting the following fault when I try to run the AxisServlet
Fault - Could not find class for the service named:
serivceDeployment.orphans.OrhpansDetails
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:
serivceDeployment.orphans.OrhpansDetails
AxisFault
faultCode:
{http://schemas.xmlsoap.org/soap/envelope/}Server.generalException
faultSubcode:
faultString: Could not find class for the service named:
serivceDeployment.orphans.OrhpansDetails
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:
serivceDeployment.orphans.OrhpansDetails
faultActor:
faultNode:
faultDetail:
I have the class in a package serviceDeployment/orphans and then in the
webapps/classes I have the classes in
../classes/serviceDeployment/orphans
Do I need to set up classpaths or something in order for axis to find
the class?
Thanks
Suzy
RE: axis Cant find class
Posted by Suzy Fynes <su...@sentenial.ie>.
Yeah did that, found the problem there had a typo in my classname value
part
Thanks for your help
-----Original Message-----
From: Mahen Perera [mailto:mahens@gmail.com]
Sent: 14 October 2004 13:23
To: axis-user@ws.apache.org
Subject: Re: axis Cant find class
Hi suzy,
I hope u have copied the package structure to axis\Web-Inf\classes
and not in webapps\classes , as u have mentioned
Regards
Mahen
On Thu, 14 Oct 2004 12:40:56 +0100, Suzy Fynes
<su...@sentenial.ie> wrote:
>
>
>
>
>
> Hey,
>
>
>
> I'm getting the following fault when I try to run the AxisServlet
>
> Fault - Could not find class for the service named:
> serivceDeployment.orphans.OrhpansDetailsHint: 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:
serivceDeployment.orphans.OrhpansDetails
>
>
AxisFault faultCode:
> {http://schemas.xmlsoap.org/soap/envelope/}Server.generalException
> faultSubcode: faultString: Could not find class for the service
named:
> serivceDeployment.orphans.OrhpansDetailsHint: 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:
serivceDeployment.orphans.OrhpansDetails
> faultActor: faultNode: faultDetail: I have the class in a package
> serviceDeployment/orphans and then in the webapps/classes I have the
classes
> in ../classes/serviceDeployment/orphans Do I need to set up
classpaths or
> something in order for axis to find the class? ThanksSuzy
>
>
Re: axis Cant find class
Posted by Mahen Perera <ma...@gmail.com>.
Hi suzy,
I hope u have copied the package structure to axis\Web-Inf\classes
and not in webapps\classes , as u have mentioned
Regards
Mahen
On Thu, 14 Oct 2004 12:40:56 +0100, Suzy Fynes
<su...@sentenial.ie> wrote:
>
>
>
>
>
> Hey,
>
>
>
> I'm getting the following fault when I try to run the AxisServlet
>
> Fault - Could not find class for the service named:
> serivceDeployment.orphans.OrhpansDetailsHint: 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: serivceDeployment.orphans.OrhpansDetails
>
>
AxisFault faultCode:
> {http://schemas.xmlsoap.org/soap/envelope/}Server.generalException
> faultSubcode: faultString: Could not find class for the service named:
> serivceDeployment.orphans.OrhpansDetailsHint: 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: serivceDeployment.orphans.OrhpansDetails
> faultActor: faultNode: faultDetail: I have the class in a package
> serviceDeployment/orphans and then in the webapps/classes I have the classes
> in ../classes/serviceDeployment/orphans Do I need to set up classpaths or
> something in order for axis to find the class? ThanksSuzy
>
>