title: error- I always get this error when I deploy the any spring+hibernate application in tomcat server
body: <p>I have written the program for add, delete, edit and search using spring+hibernate+maven+Mysql.</p>
  
  <p>I used only one table and the table name is <em>Employee</em>. 
  See the table structure:</p>
  
  <pre><code> CREATE TABLE Employee(EMPID INT NOT NULL AUTO_INCREMENT,   
   EMPNAME VARCHAR(20) NOT NULL, EMPAGE INT NOT NULL, SALARY
   BIGINT NOT NULL, ADDRESS VARCHAR(20) NOT NULL PRIMARY KEY (EMPID));
  </code></pre>
  
  <p>I have written controller, service interface, service Implementation, DAO
  Interface and DAO implementation and written the config file. There is
  no error in the code when I deploy the code and I am getting the
  below code. </p>
  
  <p>When I deploy another application using spring+hibernate, that time I am also getting the same error.</p>
  
  <p>Did I miss any jar file? Please let me know where I am doing wrong. If
  you want I will attach the .war file.</p>
  
  <pre><code>Oct 02, 2014 3:29:55 PM org.apache.catalina.core.ApplicationContext log
  INFO: Initializing Spring FrameworkServlet 'sdnext'
  Oct 02, 2014 3:29:55 PM org.apache.catalina.core.ApplicationContext log
  SEVERE: StandardWrapper.Throwable java.lang.NoClassDefFoundError: org/springframework/core/OrderComparator$OrderSourceProvider
      at org.springframework.context.support.AbstractRefreshableApplicationContext.createBeanFactory(AbstractRefreshableApplicationContext.java:200)
      at org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java:126)
      at org.springframework.context.support.AbstractApplicationContext.obtainFreshBeanFactory(AbstractApplicationContext.java:540)
      at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:454)
      at org.springframework.web.servlet.FrameworkServlet.configureAndRefreshWebApplicationContext(FrameworkServlet.java:658)
      at org.springframework.web.servlet.FrameworkServlet.createWebApplicationContext(FrameworkServlet.java:624)
      at org.springframework.web.servlet.FrameworkServlet.createWebApplicationContext(FrameworkServlet.java:672)
      at org.springframework.web.servlet.FrameworkServlet.initWebApplicationContext(FrameworkServlet.java:543)
      at org.springframework.web.servlet.FrameworkServlet.initServletBean(FrameworkServlet.java:484)
      at org.springframework.web.servlet.HttpServletBean.init(HttpServletBean.java:136)
      at javax.servlet.GenericServlet.init(GenericServlet.java:158)
      at org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.java:1284)
      at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1197)
      at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1087)
      at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:5229)
      at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5516)
      at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
      at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1575)
      at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1565)
      at java.util.concurrent.FutureTask.run(Unknown Source)
      at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
      at java.lang.Thread.run(Unknown Source)
  Caused by: java.lang.ClassNotFoundException: org.springframework.core.OrderComparator$OrderSourceProvider
      at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1720)
      at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1571)
      ... 23 more
  </code></pre>