title: Unable to determine write method for Field: 'id' in Class in Dozer
body: <p>I am using Dozer on a project and it works just fine, but after a while the same mapping that i have executed before starts to give me the next exception:</p>
  
  <pre><code>15:13:29,928 ERROR MappingProcessor:295 - Field mapping error --&gt;
  MapId: null
  Type: null
  Source parent class: org.persistencias.PP
  Source field name: id
  Source field type: class java.lang.Long
  Source field value: 1
  Dest parent class: org.dtos.PPDTO
  Dest field name: id
  Dest field type: java.lang.Long
  org.dozer.MappingException: java.lang.NoSuchMethodException: Unable to determine write method for Field: 'id' in Class: class org.dtos.PPDTO
  at org.dozer.util.MappingUtils.throwMappingException(MappingUtils.java:82)
  at org.dozer.propertydescriptor.GetterSetterPropertyDescriptor.invokeWriteMethod(GetterSetterPropertyDescriptor.java:280)
  at org.dozer.propertydescriptor.GetterSetterPropertyDescriptor.setPropertyValue(GetterSetterPropertyDescriptor.java:102)
  at org.dozer.fieldmap.FieldMap.writeDestValue(FieldMap.java:94)
  at org.dozer.MappingProcessor.writeDestinationValue(MappingProcessor.java:895)
  at org.dozer.MappingProcessor.mapFromFieldMap(MappingProcessor.java:349)
  at org.dozer.MappingProcessor.mapField(MappingProcessor.java:288)
  at org.dozer.MappingProcessor.map(MappingProcessor.java:248)
  at org.dozer.MappingProcessor.map(MappingProcessor.java:197)
  at org.dozer.MappingProcessor.map(MappingProcessor.java:187)
  at org.dozer.MappingProcessor.map(MappingProcessor.java:124)
  at org.dozer.MappingProcessor.map(MappingProcessor.java:119)
  at org.dozer.DozerBeanMapper.map(DozerBeanMapper.java:120)
  at org.server.ServiciosP.getTodasPP(ServiciosP.java:86)
  at org.server.ServicioImpl.getTodasPP(ServicioImpl.java:7668)
  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  at java.lang.reflect.Method.invoke(Method.java:606)
  at com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:561)
  at com.google.gwt.user.server.rpc.RemoteServiceServlet.processCall(RemoteServiceServlet.java:208)
  at com.google.gwt.user.server.rpc.RemoteServiceServlet.processPost(RemoteServiceServlet.java:248)
  at com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet.doPost(AbstractRemoteServiceServlet.java:62)
  at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
  at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
  at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487)
  at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:362)
  at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
  at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
  at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:729)
  at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405)
  at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
  at org.mortbay.jetty.handler.RequestLogHandler.handle(RequestLogHandler.java:49)
  at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
  at org.mortbay.jetty.Server.handle(Server.java:324)
  at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:505)
  at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:843)
  at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:647)
  at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211)
  at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:380)
  at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:395)
  at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:488)
      Caused by: java.lang.NoSuchMethodException: Unable to determine write method for Field: 'id' in Class: class org.dtos.PPDTO
  at org.dozer.propertydescriptor.JavaBeanPropertyDescriptor.getWriteMethod(JavaBeanPropertyDescriptor.java:47)
  at org.dozer.propertydescriptor.GetterSetterPropertyDescriptor.invokeWriteMethod(GetterSetterPropertyDescriptor.java:278)
  ... 40 more
  org.dozer.MappingException: java.lang.NoSuchMethodException: Unable to determine write method for Field: 'id' in Class: class org.dtos.PPDTO
  </code></pre>
  
  <p>But i have the id setter method on my POJO and on my DTO.</p>
  
  <p>POJO:</p>
  
  <pre><code>// Property accessors
  @GenericGenerator(name = "generator", strategy = "increment")
  @Id
  @GeneratedValue(generator = "generator")
  @Column(name = "id", unique = true, nullable = false)
  public Long getId() {
      return this.id;
  }
  
  public void setId(Long id) {
      this.id = id;
  }
  </code></pre>
  
  <p>DTO:</p>
  
  <pre><code>public Long getId() {
      return this.id;
  }
  
  public void setId(Long id) {
      this.id = id;
  }
  </code></pre>
  
  <p>Finally my mapping code for this:</p>
  
  <pre><code>&lt;mapping&gt;
    &lt;class-a&gt;org.persistencias.PP&lt;/class-a&gt;
    &lt;class-b&gt;org.dtos.PPDTO&lt;/class-b&gt;
  &lt;/mapping&gt;
  </code></pre>
  
  <p>Does anyone here know how to fix this or point me about the problem root??</p>
  
  <p>I am using dozer 5.4.0 (the las stable version)</p>