title: org.springframework.beans.factory.BeanDefinitionStoreException: Unexpected exception parsing XML document from class path resource
body: <p>Hi I am developing a RIA application using SWING as client,Java WebStart JNLP and Spring on server side using HTTPInvoker.</p>
  
  <p>I am getting the below error message when I am trying to Launch &amp; Run my application from JNLP. But if I run the same as java application it workes fine and communicate with server and fetch data using spring bean.</p>
  
  <p>My client.xml file is in a client package and looked by jnlp.</p>
  
  <p>Here is my JNLP file :</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt; 
  &lt;jnlp spec="1.0+" codebase="http://localhost:9080/fawsServer" href="fawsWebstart.jnlp"&gt;   
    &lt;information&gt; 
      &lt;title&gt;Force Analyst&lt;/title&gt; 
      &lt;vendor&gt;***&lt;/vendor&gt;      
      &lt;description&gt;Force Analyst&lt;/description&gt;     
      &lt;description kind="short"&gt;
         A demo of the capabilities of JAVA WebStart.
      &lt;/description&gt;     
      &lt;offline-allowed&gt;false&lt;/offline-allowed&gt;
    &lt;/information&gt;
  
    &lt;resources&gt; 
      &lt;j2se version="1.5+" href="http://java.sun.com/products/autodl/j2se"/&gt; 
      &lt;jar href="fawsClient.jar" download="eager" main="true"/&gt;
      &lt;jar href="fawsModel.jar" download="eager" main="false"/&gt;
      &lt;jar href="fawsIcons.jar" download="eager" main="false"/&gt;   
      &lt;jar href="spring-core.jar" download="eager" main="false"/&gt;
      &lt;jar href="commons-logging-1.0.4.jar" download="eager" main="false"/&gt;
      &lt;jar href="spring-2.5.6.jar" download="eager" main="false"/&gt;
    &lt;/resources&gt; 
  
    &lt;application-desc
           name="Force Analyst Application"
           main-class="com.att.edge.fawsclient.main.SplashWindow"
           width="710"
           height="380"&gt;
    &lt;/application-desc&gt;
    &lt;update check="background"/&gt;
  &lt;/jnlp&gt;
  </code></pre>
  
  <p><strong>ERROR :</strong> </p>
  
  <pre><code>Exception in thread "AWT-EventQueue-0" java.lang.ExceptionInInitializerError
      at com.att.edge.fawsclient.dao.factory.DAOFactory.getMessagesDAO(DAOFactory.java:110)
      at com.att.edge.fawsclient.comm.messages.ReadMessagesFrame.&lt;init&gt;(ReadMessagesFrame.java:114)
      at com.att.edge.fawsclient.comm.messages.ReadMessagesFrame.getReadMessagesFrame(ReadMessagesFrame.java:87)
      at com.att.edge.fawsclient.main.ForceAnalystPalette.getMessageFrame(ForceAnalystPalette.java:306)
      at com.att.edge.fawsclient.main.ForceAnalystPalette.actionPerformed(ForceAnalystPalette.java:1173)
      at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
      at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
      at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
      at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
      at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
      at java.awt.Component.processMouseEvent(Unknown Source)
      at javax.swing.JComponent.processMouseEvent(Unknown Source)
      at java.awt.Component.processEvent(Unknown Source)
      at java.awt.Container.processEvent(Unknown Source)
      at java.awt.Component.dispatchEventImpl(Unknown Source)
      at java.awt.Container.dispatchEventImpl(Unknown Source)
      at java.awt.Component.dispatchEvent(Unknown Source)
      at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
      at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
      at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
      at java.awt.Container.dispatchEventImpl(Unknown Source)
      at java.awt.Window.dispatchEventImpl(Unknown Source)
      at java.awt.Component.dispatchEvent(Unknown Source)
      at java.awt.EventQueue.dispatchEvent(Unknown Source)
      at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
      at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
      at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
      at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
      at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
      at java.awt.EventDispatchThread.run(Unknown Source)
  Caused by: org.springframework.beans.factory.BeanDefinitionStoreException: Unexpected exception parsing XML document from class path resource [fawsClient-client.xml]; nested exception is java.lang.NoSuchMethodError: org.springframework.util.ReflectionUtils.makeAccessible(Ljava/lang/reflect/Constructor;)V
      at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:420)
      at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:342)
      at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:310)
      at org.springframework.beans.factory.xml.XmlBeanFactory.&lt;init&gt;(XmlBeanFactory.java:73)
      at org.springframework.beans.factory.xml.XmlBeanFactory.&lt;init&gt;(XmlBeanFactory.java:61)
      at com.att.edge.fawsclient.dao.factory.DAOFactory$BeanFactoryHolder.&lt;clinit&gt;(DAOFactory.java:40)
      ... 30 more
  Caused by: java.lang.NoSuchMethodError: org.springframework.util.ReflectionUtils.makeAccessible(Ljava/lang/reflect/Constructor;)V
      at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:99)
      at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:78)
      at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.createBeanDefinitionDocumentReader(XmlBeanDefinitionReader.java:518)
      at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.registerBeanDefinitions(XmlBeanDefinitionReader.java:505)
      at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:398)
      ... 35 more
  </code></pre>