title: INFO: No Spring WebApplicationInitializer types detected on classpath
body: <p>I have a spring project that runs fine on my tomcat7 server when I deploy from eclipse: Run As >> Run on server.
  In the eclipse tab "Servers" I see:</p>
  
  <pre><code>Servers
   Tomcat v7.0 Server at localhost [Started, Synchronized]
     my_project [Synchronized]
       spring-web-3.2.4-RELEASE.jar
  </code></pre>
  
  <p>My project:</p>
  
  <ul>
  <li>does not use web.xml, I use javaconf @ annotations.</li>
  <li>does not use maven, I use a User Library</li>
  </ul>
  
  <p>I see that the project is in:</p>
  
  <pre><code>/srv/applications/workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp0
  </code></pre>
  
  <p>And, I also see the folders: conf,logs,temp,webapps,work,wtpwebapps</p>
  
  <p>I confirm that all runs fine on my tomcat7 server when I deploy from eclipse!</p>
  
  <p>In eclipse console I get:</p>
  
  <pre><code>Apr 08, 2014 3:26:59 PM org.apache.tomcat.util.digester.SetPropertiesRule begin
  WARNING: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'source' to 'org.eclipse.jst.j2ee.server:my_project' did not find a matching property.
  Apr 08, 2014 3:27:00 PM org.apache.coyote.AbstractProtocol init
  INFO: Initializing ProtocolHandler ["http-bio-8888"]
  Apr 08, 2014 3:27:00 PM org.apache.coyote.AbstractProtocol init
  INFO: Initializing ProtocolHandler ["http-bio-8843"]
  Apr 08, 2014 3:27:01 PM org.apache.catalina.startup.Catalina load
  INFO: Initialization processed in 3215 ms
  Apr 08, 2014 3:27:01 PM org.apache.catalina.core.StandardService startInternal
  INFO: Starting service Catalina
  Apr 08, 2014 3:27:01 PM org.apache.catalina.core.StandardEngine startInternal
  INFO: Starting Servlet Engine: Apache Tomcat/7.0.26
  Apr 08, 2014 3:27:11 PM org.apache.catalina.core.ApplicationContext log
  INFO: Spring WebApplicationInitializers detected on classpath: [my_project.web.context.WebApplicationInitializer@3599e94c]
  Apr 08, 2014 3:27:12 PM org.apache.catalina.core.ApplicationContext log
  INFO: Initializing Spring root WebApplicationContext
  Apr 08, 2014 3:27:24 PM org.apache.catalina.core.ApplicationContext log
  INFO: Initializing Spring FrameworkServlet 'dispatcher'
  Apr 08, 2014 3:27:24 PM org.apache.coyote.AbstractProtocol start
  INFO: Starting ProtocolHandler ["http-bio-8888"]
  Apr 08, 2014 3:27:24 PM org.apache.coyote.AbstractProtocol start
  INFO: Starting ProtocolHandler ["http-bio-8843"]
  Apr 08, 2014 3:27:24 PM org.apache.catalina.startup.Catalina start
  INFO: Server startup in 23821 ms
  </code></pre>
  
  <p>Now: The problem
  It is when I deploy the same app (using a file .war) in the same tomcat7 server /var/lib/tomcat7/webapps</p>
  
  <p>I can open the my initial page web BUT without data,</p>
  
  <p>I see in the log:</p>
  
  <pre><code>INFO: No Spring WebApplicationInitializer types detected on classpath
  </code></pre>
  
  <p>When I restart tomcat7 I get in the log file:</p>
  
  <pre><code>INFO: Destroying ProtocolHandler ["http-bio-8843"]
  Apr 8, 2014 3:25:30 PM org.apache.tomcat.util.digester.SetPropertiesRule begin
  WARNING: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'source' to 'org.eclipse.jst.j2ee.server:my_project' did not find a matching property.
  Apr 8, 2014 3:25:30 PM org.apache.coyote.AbstractProtocol init
  INFO: Initializing ProtocolHandler ["http-bio-8888"]
  Apr 8, 2014 3:25:31 PM org.apache.coyote.AbstractProtocol init
  INFO: Initializing ProtocolHandler ["http-bio-8843"]
  Apr 8, 2014 3:25:31 PM org.apache.catalina.startup.Catalina load
  INFO: Initialization processed in 1664 ms
  Apr 8, 2014 3:25:31 PM org.apache.catalina.core.StandardService startInternal
  INFO: Starting service Catalina
  Apr 8, 2014 3:25:31 PM org.apache.catalina.core.StandardEngine startInternal
  INFO: Starting Servlet Engine: Apache Tomcat/7.0.26
  Apr 8, 2014 3:25:38 PM org.apache.coyote.AbstractProtocol start
  INFO: Starting ProtocolHandler ["http-bio-8888"]
  Apr 8, 2014 3:25:38 PM org.apache.coyote.AbstractProtocol start
  INFO: Starting ProtocolHandler ["http-bio-8843"]
  Apr 8, 2014 3:25:38 PM org.apache.catalina.startup.Catalina start
  INFO: Server startup in 7576 ms
  </code></pre>