ClassNotFoundException URIResolver

Problem:

While trying to deploy a WebService in Eclipse using Bottom up Java bean Web Service, the following error occur:

java.lang.ClassNotFoundException: org.apache.ws.commons.schema.resolver.URIResolver

Cause:

Error occur because java cannot find the class xmlschema

Solution:

You need to copy file xmlschema-core-2.2.1.jar (you can find it into Apache Axis2 distribution) into WebContent/WEB-INF/lib folder from your project

Leave a Reply

Your email address will not be published. Required fields are marked *