Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Unable to load web service (Apache CXF) on Tomcat 7  RSS feed

 
Vinod Vijay
Ranch Hand
Posts: 163
Java Tomcat Server Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I'm using Apache CXF for web service integrated with Spring. I have exported my dynamic project as WAR and when I try to deploy it on web app folder o my Tomcat 7, I'm getting the following error:-

Error:-
INFO: Starting Servlet Engine: Apache Tomcat/7.0.41
16-Mar-2016 11:51:50 AM org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive D:\Vinod\apache-tomcat-7.0.41\webapps\HelloWebService.war
16-Mar-2016 11:51:53 AM org.apache.catalina.loader.WebappClassLoader validateJarFile
INFO: validateJarFile(D:\Vinod\apache-tomcat-7.0.41\webapps\HelloWebService\WEB-INF\lib\geronimo-servlet_3.0_spec-1.0.jar) - jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class: javax/servlet/Servlet.class
16-Mar-2016 11:51:53 AM org.apache.catalina.loader.WebappClassLoader validateJarFile
INFO: validateJarFile(D:\Vinod\apache-tomcat-7.0.41\webapps\HelloWebService\WEB-INF\lib\javax.servlet-api-3.1.0.jar) - jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class: javax/servlet/Servlet.class
16-Mar-2016 11:51:57 AM org.apache.catalina.core.ContainerBase addChildInternal
SEVERE: ContainerBase.addChild: start:
org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/HelloWebService]]
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)


Can you please advise what is wrong with the implementation?

Web.xml:-


mybeans.xml:


Necessary libs have been added under /HelloWebService/WebContent/WEB-INF/lib

Thank you
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!