> Date: Wed, 1 Apr 2009 19:09:23 -0300
> Subject: Re: Adding Axis2 service to existing web application.
> From: [email protected]
> To: [email protected]
> 
> On Wed, Apr 1, 2009 at 6:13 PM, Azazel Se <[email protected]> wrote:
> >
> > java.lang.ClassNotFoundException: javax.wsdl.xml.WSDLLocator
> > 
> 
> You need that class, the wsdl4j jar that was released with axis2
> should contain one. Try putting that jar in WEB-INF/lib .
> 
> - R

 

Thanks. :)

As mentioned in my mail I added the entire axis2 lib to the maven pom.xml file 
and thought this was enough. But as I added the jar file you mentioned to the 
lib I got another axis2 classnotfoundexception so I manually added all the jars 
to the war file and then it worked. 

 

I am new to maven, why isn't it enough to add the jars to the pom and thereby 
the Maven Dependencies folder/library? I thought this was the purpose for 
dependency, that it everything is copied when using for instance maven package?


-Az.

_________________________________________________________________
Windows Live™ Mail. Flere kontoer på ett sted.
http://download.live.com/wlmail

Reply via email to