Thank you for your answer.
But after I deleted all the maven(2.0.8) repository files the case still
threw the NoClassDefFoundError exception.
And I try to use maven2.0.5 to do this case it failed too. 
Why can't XmlSchema be downloaded successfully?


David Blevins wrote:
> 
> 
> Seems like you've got some bad maven repo state.  Try deleting the  
> following directory and running it again.
> 
>     ~/.m2/repository/org/apache/ws/commons/schema
> 
> If that fixes the issue and you wind up with a similar error for a  
> different class, then definitely try deleting or moving your local  
> maven repo so maven will download everything again.  On rare occasion  
> Maven seems to get an incomplete/invalid jar and doesn't know it.
> 
> -David
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Found-ERROR---Error-deploying-CXF-webservice-for-ejb-CalculatorImpl-when-run-web-services-sample.-tp16323312p16344444.html
Sent from the OpenEJB User mailing list archive at Nabble.com.

Reply via email to