Hi,

I am trying to make spring-ws to be deployed to tomcat within eclipse. I would like to use maven to manage dependency. I get "HTTP Status 404 - /, The requested resource (/) is not available." when I try to run the project on tomcat 7 through url: http://localhost:8080/liverestaurantManualws/.

Here is my steps:
1. create maven project with -DarchetypeGroupId=org.springframework.ws -DarchetypeArtifactId=spring-
ws-archetype -DarchetypeVersion=2.1.0.RELEASE
2. change the project facet to dynamic web project and set the tomcat server
3. now i can see" run on server" and see the project is deployed onto the tomcat.

Under the workspace\.metadata\.plugins\org.eclipse.wst.serve r.core\tmp3\wtpwebapps\liverestaurantManualws directory:

├─classes
│ └─com
│ └─packtpub
│ └─liverestaurant
│ └─service
│ └─endpoint
├─liverestaurantManualws
│ ├─META-INF
│ └─WEB-INF
│ ├─classes
│ │ └─com
│ │ └─packtpub
│ │ └─liverestaurant
│ │ └─service
│ │ └─endpoint
│ └─lib
├─maven-archiver
├─META-INF
├─surefire
├─test
│ ├─META-INF
│ └─WEB-INF
│ ├─classes
│ │ └─com
│ │ └─packtpub
│ │ └─liverestaurant
│ │ └─service
│ │ └─endpoint
│ └─lib
├─test-classes
└─WEB-INF
├─classes
│ └─com
│ └─packtpub
│ └─liverestaurant
│ └─service
│ └─endpoint
└─lib

Below is my web.xml and spring-ws-servlet.xml under dir src/main/webapp/WEB-INF directory.

Code:
<?xml  version="1.0" encoding="UTF-8"?>
<!--
* This software is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND.
-->
<beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
       xmlns:context="http://www.springframework.org/schema/context"
       xmlns:sws="http://www.springframework.org/schema/web-services"
       xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.0.xsd
       http://www.springframework.org/schema/web-services http://www.springframework.org/schema/web-services/web-services-2.0.xsd
       http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-3.0.xsd">

    <sws:annotation-driven/>
    <context:component-scan base-package="com.packtpub.liverestaurant.service"/>
    
    <sws:dynamic-wsdl id="OrderService" portTypeName="OrderService" locationUri="http://localhost:8080/LiveRestaurant/spring-ws/OrderService"
                      targetNamespace="http://www.packtpub.com/liverestaurant/OrderService/schema">
        <sws:xsd location="/WEB-INF/orderService.xsd"/>
    </sws:dynamic-wsdl>    

</beans>
and
Code:
<?xml version="1.0" encoding="UTF-8"?>
<!--
* This software is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND.
-->
<web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:web="http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd" id="WebApp_ID" version="3.0">
  <display-name>LiveRestaurant</display-name>
  <context-param>
    <param-name>log4jConfigLocation</param-name>
    <param-value>/WEB-INF/log4j.properties</param-value>
  </context-param>
  <context-param>
    <param-name>log4jRefreshInterval</param-name>
    <param-value>1000</param-value>
  </context-param>
  <listener>
    <listener-class>org.springframework.web.util.Log4jConfigListener</listener-class>
  </listener>
  <servlet>
    <servlet-name>spring-ws</servlet-name>
    <servlet-class>
			org.springframework.ws.transport.http.MessageDispatcherServlet</servlet-class>
    <load-on-startup>1</load-on-startup>
  </servlet>
  <servlet-mapping>
    <servlet-name>spring-ws</servlet-name>
    <url-pattern>/*</url-pattern>
  </servlet-mapping>
</web-app>

How to solve this problem?
Thanks for your help