I am also trying to create a simple web service (configured: Dynamic Web Module 2.5) using: - Tomcat 8.0 and - Axis2 1.7.4 (axis2-1.7.4-war).
I get the following errors:
[WARN] Web application uses org.apache.axis2.transport.http.AxisAdminServlet; please update web.xml to use org.apache.axis2.webapp.AxisAdminServlet instead [INFO] Clustering has been disabled [WARN] Unable to instantiate deployer org.apache.axis2.deployment.ServiceDeployer; see debug logs for more details abr 13, 2017 9:03:35 PM org.apache.catalina.core.ApplicationContext log GRAVE: StandardWrapper.Throwable java.lang.NoClassDefFoundError: org/apache/ws/commons/schema/resolver/URIResolver at org.apache.axis2.deployment.ModuleDeployer.deploy(ModuleDeployer.java:128) (...) Caused by: java.lang.ClassNotFoundException: org.apache.ws.commons.schema.resolver.URIResolver at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1332) ... 24 more abr 13, 2017 9:03:35 PM org.apache.catalina.core.StandardContext loadOnStartup GRAVE: Servlet [AxisAdminServlet] in web application [/AxisTestWebServer] threw load() exception java.lang.ClassNotFoundException: org.apache.ws.commons.schema.resolver.URIResolver at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1332) (...)
The first problem was [WARNING]:
"The [WARN] web application uses org.apache.axis2.transport.http.AxisAdminServlet; update web.xml to use org.apache.axis2.webapp.AxisAdminServlet instead"
Solution: I decided to update web.xml as needed.
The second problem was:
- java.lang.NoClassDefFoundError: org / apache / ws / commons / schema / resolver / URIResolver
- Called: java.lang.ClassNotFoundException: org.apache.ws.commons.schema.resolver.URIResolver
For some reason, when I created a new dynamic web project configured with Axis2, xmlschema-core-2.2.1.jar (axis2 / WEB-INF / lib) was not imported into WebContent / WEB-INF / lib.
Solution: Therefore, I had to insert it there.
After that, another problem with jstl:
- This problem occurred when I tried to log in as an administrator on a web service
abr 13, 2017 9:54:30 PM org.apache.catalina.core.ApplicationDispatcher calls GRAVE: Servlet.service () for the jsp servlet threw an org.apache.jasper.JasperException: absolute URI: http: // java exception . sun.com/jsp/jstl/core cannot be resolved either in the web.xml file or in the jar files deployed using this application (...)
Decision:
I downloaded the following files: - taglibs-standard-impl-1.2.5.jar and - taglibs-standard-spec-1.2.5.jar
from tomcat.apache.org/download-taglibs.cgi
So I had to paste them into WebContent / WEB-INF / lib.
that all people. I hope this helps.
Davijr
source share