title: Unable to instantiate VelocityEngine, when deploying war file
body: <p>I am deploying an application on Tomcat 6, using a war file.  I've compiled the source code given by the vendor on the same machine, then moved the war file to {tomcat-home}/webapps/</p>
  
  <p>When I start up the application, I see a error message:</p>
  
  <pre><code>The SystemInformationService could not be retrieved from the container. Therefore very limited information is available in this error report. 
  The SystemInformationService could not be retrieved due to the following error: java.lang.IllegalStateException: Spring Application context has not been set
  Cause
  java.lang.RuntimeException: Unable to instantiate VelocityEngine!
      at com.opensymphony.webwork.views.velocity.VelocityManager.newVelocityEngine(VelocityManager.java:333)
  
  Stack Trace:[hide]
  
  java.lang.RuntimeException: Unable to instantiate VelocityEngine!
   at com.opensymphony.webwork.views.velocity.VelocityManager.newVelocityEngine(VelocityManager.java:333)
   at com.opensymphony.webwork.views.velocity.VelocityManager.init(VelocityManager.java:146)
   at com.opensymphony.webwork.dispatcher.VelocityResult.doExecute(VelocityResult.java:61)
  </code></pre>
  
  <p>I followed the same steps on another machine and it installed correctly.</p>
  
  <p>I don't understand what the error is telling me.  </p>
  
  <p>Could I be missing jar files? ( but it compiled fine ).</p>
  
  <p>Have I forgotten to set environment variables?</p>
  
  <p>I'm not sure what to make of this, I don't know what the VelocityEngine is, or does.</p>