title: glassfish 4.1 class org.springframework.beans.factory.BeanCreationException
body: <p>please help, this is very confusing, I can't deploy my war file in glassfish (where previously it could) with an error message like this</p>
  
  <pre><code>"https://localhost:4848/management/domain/applications/application/myApp"
   created successfully. Warning: Command _deploy did not complete
   successfully on server instance instance1: remote failure: Failed to
   load the application on instance instance1. The application will not
   run properly. Please fix your application and redeploy. Exception
   while loading the app : java.lang.IllegalStateException:
   ContainerBase.addChild: start: org.apache.catalina.LifecycleException:
   java.lang.NoClassDefFoundError: Could not initialize class
   org.springframework.beans.factory.BeanCreationException. Please see
   server.log for more details. Warning: Command _deploy did not complete
   successfully on server instance instance1: remote failure: Failed to
   load the application on instance instance1. The application will not
   run properly. Please fix your application and redeploy. Exception
   while loading the app : java.lang.IllegalStateException:
   ContainerBase.addChild: start: org.apache.catalina.Lifecycle ....
   msg.seeServerLog
  </code></pre>
  
  <p>glassfish : 4.1</p>
  
  <p>java version : 1.7.0_121</p>
  
  <p>os : ubuntu server 12</p>
  
  <p>I also could not find meaningful information in the server.log</p>
  
  <p>but my war file can work well on my local tomcat </p>
  
  <p>I'm sure there is no duplicates lib, because it was previously running well and indeed there was no change in my lib</p>