title: Invalid property 'tempsReglementaireBusiness' of bean class
body: <p>I have an Invalid property 'tempsReglementaireBusiness' of bean class in my web application</p>
  
  <p>My class:</p>
  
  <pre><code>public class ExportDepassement12HeuresCSV {
  
      @Autowired
      private TempsReglementaireBusiness tempsReglementaireBusiness;
  
  ...
  }
  </code></pre>
  
  <p>My application context service:</p>
  
  <pre><code>    &lt;bean id="exportDepassement12heuresCSV"
          class="fr.edfgdf.tamaris.intervention.goulotte.export.ExportDepassement12HeuresCSV"&gt;
      &lt;property name="tempsReglementaireBusiness" ref="tempsReglementaireBusiness"&gt;&lt;/property&gt;
      &lt;/bean&gt;
  
  ....
      &lt;bean id="tempsReglementaireBusiness"
          class="fr.edfgdf.tamaris.intervention.goulotte.service.impl.TempsReglementaireBusinessImpl"&gt;
          &lt;property name="ressourceManager" ref="ressourceManager" /&gt;
          &lt;property name="affectationRessourceManager" ref="affectationRessourceManager" /&gt;
          &lt;property name="cacheManager" ref="cacheManager" /&gt;
          &lt;property name="affectationActiviteManager" ref="affectationActiviteManager" /&gt;
          &lt;property name="mainOeuvreManager" ref="mainOeuvreManager" /&gt;
          &lt;property name="reportingReposService" ref="reportingReposService" /&gt;
          &lt;property name="tourneeManager" ref="tourneeManager" /&gt;
          &lt;property name="entiteManager" ref="entiteManager" /&gt;
          &lt;property name="rvaEntiteRegionaleManager" ref="rvaEntiteRegionaleManager" /&gt;
          &lt;property name="rvaEntiteRegionaleDtoTranslator" ref="rvaEntiteRegionaleDtoTranslator" /&gt;
          &lt;property name="exportService" ref="exportService" /&gt;
          &lt;property name="exportMessageSender" ref="exportMessageSender" /&gt;
          &lt;property name="motifDepassementManager" ref="motifDepassementManager" /&gt;
          &lt;property name="activiteLocaleManager" ref="activiteLocaleManager" /&gt;
          &lt;property name="activiteNationaleManager" ref="activiteNationaleManager" /&gt;
          &lt;property name="interventionManager" ref="interventionManager" /&gt;
          &lt;property name="depassementTempsManager" ref="depassementTempsManager" /&gt;
      &lt;/bean&gt;
  
  ...
  </code></pre>
  
  <p>All is declared but when i compil i have this error:</p>
  
  <blockquote>
    <p>Caused By: org.springframework.beans.NotWritablePropertyException:
    Invalid property 'tempsReglementaireBusiness' of bean class
    [fr.edfgdf.tamaris.intervention.goulotte.export.ExportDepassement12HeuresCSV]:
    Bean property 'tempsReglementaireBusiness' is not writable or has an
    invalid setter method. Does the parameter type of the setter match the
    return type of the getter?    at
    org.springframework.beans.BeanWrapperImpl.setPropertyValue(BeanWrapperImpl.java:1064)
      at
    org.springframework.beans.BeanWrapperImpl.setPropertyValue(BeanWrapperImpl.java:924)
      at
    org.springframework.beans.AbstractPropertyAccessor.setPropertyValues(AbstractPropertyAccessor.java:76)
      at
    org.springframework.beans.AbstractPropertyAccessor.setPropertyValues(AbstractPropertyAccessor.java:58)
      at
    org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1393)
      Truncated. see log file for complete stacktrace</p>
  </blockquote>
  
  <p>Thx.</p>