title: Servlet dispatcher is currently unavailable
body: <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;beans xmlns="http://www.springframework.org/schema/beans"
      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
      xmlns:p="http://www.springframework.org/schema/p"
      xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd"&gt;
  
      &lt;bean id="viewResolver" class="org.springframework.web.servlet.view.InternalResourceViewResolver" p:prefix="/WEB-INF/jsp/" p:suffix=".jsp" /&gt;
  
      &lt;bean id="myDataSource" class="org.apache.commons.dbcp.BasicDataSource" destroy-method="close"&gt;
          &lt;property name="driverClassName" value="com.mysql.jdbc.Driver"/&gt;
          &lt;property name="url" value="jdbc:mysql://127.0.0.1:3306/spring"/&gt;
          &lt;property name="username" value="monty"/&gt;
          &lt;property name="password" value="indian"/&gt;
      &lt;/bean&gt;
  
      &lt;bean id="mySessionFactory" class="org.springframework.orm.hibernate3.annotation.AnnotationSessionFactoryBean"&gt;
          &lt;property name="dataSource" ref="myDataSource" /&gt;
          &lt;property name="annotatedClasses"&gt;
              &lt;list&gt;
                  &lt;value&gt;uk.co.vinoth.spring.domain.User&lt;/value&gt;
              &lt;/list&gt;
          &lt;/property&gt;
          &lt;property name="hibernateProperties"&gt;
              &lt;props&gt;
                  &lt;prop key="hibernate.dialect"&gt;org.hibernate.dialect.MySQLDialect&lt;/prop&gt;
                  &lt;prop key="hibernate.show_sql"&gt;true&lt;/prop&gt;
                  &lt;prop key="hibernate.hbm2ddl.auto"&gt;create&lt;/prop&gt;
              &lt;/props&gt;
          &lt;/property&gt;
      &lt;/bean&gt;
  
      &lt;bean id="myUserDAO" class="uk.co.vinoth.spring.dao.UserDAOImpl"&gt;
          &lt;property name="sessionFactory" ref="mySessionFactory"/&gt;
      &lt;/bean&gt;
  
      &lt;bean name="/user/*.htm" class="uk.co.vinoth.spring.web.UserController" &gt;
          &lt;property name="userDAO" ref="myUserDAO" /&gt;
      &lt;/bean&gt;
  
  &lt;/beans&gt;
  </code></pre>
  
  <p>The above is my bean configuration, why do i get error when i run my application. My logs folder is empty... </p>
  
  <pre><code>org.apache.catalina.loader.StandardClassLoader@122c9df
   org.springframework.web.servlet.DispatcherServlet
  java.lang.ClassNotFoundException: org.springframework.web.servlet.DispatcherServlet
      at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1436)
      at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1282)
      at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1068)
      at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:966)
      at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3996)
      at org.apache.catalina.core.StandardContext.start(StandardContext.java:4266)
      at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014)
      at org.apache.catalina.core.StandardHost.start(StandardHost.java:736)
      at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014)
      at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
      at org.apache.catalina.core.StandardService.start(StandardService.java:448)
      at org.apache.catalina.core.StandardServer.start(StandardServer.java:700)
      at org.apache.catalina.startup.Catalina.start(Catalina.java:552)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      at java.lang.reflect.Method.invoke(Unknown Source)
      at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:295)
      at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:433)
  Dec 22, 2010 3:44:48 PM org.apache.catalina.core.StandardContext loadOnStartup
  SEVERE: Servlet /interMedix threw load() exception
  java.lang.ClassNotFoundException: org.springframework.web.servlet.DispatcherServlet
      at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1436)
      at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1282)
      at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1068)
      at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:966)
      at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3996)
      at org.apache.catalina.core.StandardContext.start(StandardContext.java:4266)
      at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014)
      at org.apache.catalina.core.StandardHost.start(StandardHost.java:736)
      at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014)
      at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
      at org.apache.catalina.core.StandardService.start(StandardService.java:448)
      at org.apache.catalina.core.StandardServer.start(StandardServer.java:700)
      at org.apache.catalina.startup.Catalina.start(Catalina.java:552)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      at java.lang.reflect.Method.invoke(Unknown Source)
      at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:295)
      at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:433)
  Dec 22, 2010 3:44:48 PM org.apache.coyote.http11.Http11BaseProtocol start
  INFO: Starting Coyote HTTP/1.1 on http-8181
  Dec 22, 2010 3:44:48 PM org.apache.jk.common.ChannelSocket init
  INFO: JK: ajp13 listening on /0.0.0.0:8009
  Dec 22, 2010 3:44:48 PM org.apache.jk.server.JkMain start
  INFO: Jk running ID=0 time=0/27  config=null
  Dec 22, 2010 3:44:48 PM org.apache.catalina.storeconfig.StoreLoader load
  INFO: Find registry server-registry.xml at classpath resource
  Dec 22, 2010 3:44:49 PM org.apache.catalina.startup.Catalina start
  INFO: Server startup in 558 ms
  Dec 22, 2010 3:44:50 PM org.apache.catalina.core.StandardWrapperValve invoke
  INFO: Servlet dispatcher is currently unavailable
  Dec 22, 2010 3:50:18 PM org.apache.catalina.core.StandardWrapperValve invoke
  INFO: Servlet dispatcher is currently unavailable
  </code></pre>
  
  <p>But i have added spring-web-mvc to my class path which does contain this class file.</p>