title: Spring: Bean property is not writable or has an invalid setter method
body: <p>I know this question has been asked multiple times but to my eyes everything is correct.  I've also deleted my code from Eclipse and let the IDE create the getters/setters but no avail.  </p>
  
  <p>Here's my error in weblogic:</p>
  
  <p>Caused by: org.springframework.beans.NotWritablePropertyException: Invalid property 'gpsDataAllStopsSql' of bean class [com.fedex.dire.webservices.direservice.dao.GPSDataDaoImpl]: Bean property 'gpsDataAllStopsSql' is not writable or has an invalid setter method. Does the parameter type of the setter match the return type of the getter?</p>
  
  <p>Here's my Bean &amp; Property in my context:</p>
  
  <pre><code>&lt;bean id="dataDao" class="com.text.service.dao.DataDaoImpl" &gt;
        &lt;property name="dataSource" ref="dataSource" /&gt;
        &lt;property name="gpsDataAllStopsSql"&gt;
            &lt;value&gt;&lt;![CDATA[SELECT A.XML_DATA,B.ADDR1,B.ADDR2,B.POSTALCODE  FROM GPS.EVENT_STAMP A LEFT OUTER JOIN DB.SCAN B ON  A.FAC_IORG_NBR=B.FACILITY AND A.SCANNER_DATE=B.SCANDATE AND A.SCANNER_ID=B.SCANNERID AND A.PD_START_TIME=B.PDSTART WHERE FAC_IORG_NBR = ?  AND SCANNER_DATE = CAST(? AS DATE) AND SCANNER_ID = ? AND PD_START_TIME = ?]]&gt;&lt;/value&gt;
      &lt;/property&gt; 
        &lt;property name="gpsDataSql"&gt;
            &lt;value&gt;&lt;![CDATA[SELECT A.XML_DATA,A.STOP_NUMBER,B.ADDR1,B.ADDR2,B.POSTALCODE FROM GPS.EVENT_STAMP A LEFT OUTER JOIN DB.SCAN B ON  A.STOP_NUMBER=B.STOP# AND A.FAC_IORG_NBR=B.FACILITY AND A.SCANNER_DATE=B.SCANDATE AND A.SCANNER_ID=B.SCANNERID AND A.PD_START_TIME=B.PDSTART WHERE FAC_IORG_NBR = ?  AND SCANNER_DATE = CAST(? AS DATE) AND SCANNER_ID = ? AND PD_START_TIME = ? AND STOP_NUMBER = ?]]&gt;&lt;/value&gt;
   &lt;/property&gt; 
   &lt;/bean&gt;
  </code></pre>
  
  <p>Here are the getter and setter methods in my DaoImpl:</p>
  
  <pre><code>private static String gpsDataSql = null;
  
  private static String gpsDataAllStopsSql = null;
  
  public static String getGpsDataSql() {
      return gpsDataSql;
  }
  
  public static void setGpsDataSql(String gpsDataSql) {
      DataDaoImpl.gpsDataSql = gpsDataSql;
  }
  
  public static String getGpsDataAllStopsSql() {
      return gpsDataAllStopsSql;
  }
  
  public static void setGpsDataAllStopsSql(String gpsDataAllStopsSql) {
      DataDaoImpl.gpsDataAllStopsSql = gpsDataAllStopsSql;
  }
  </code></pre>
  
  <p>Is there something my eyes are gliding over or could it be another issue with my environment?</p>
  
  <p>Thanks!</p>