title: java.lang.NoSuchMethodError with XML
body: <p>I have the following XML</p>
  
  <pre><code>@XmlRootElement
  @XmlType(propOrder = { "name", "transforms", "qualitycontrols"})
  @XmlAccessorType(XmlAccessType.NONE)
  public class Process {
  
  @XmlElement
  private String name;      
  
  @XmlElement(name = "transform")
  private List&lt;Transform&gt; transforms = new ArrayList&lt;Transform&gt;();
  
  @XmlElement(name = "qualitycontrol")
  private List&lt;QualityControl&gt; qualitycontrols = new ArrayList&lt;QualityControl&gt;();
  
  public Process() {
  }
  
  public String getName() {
      return name;
  }
  
  public void setName(String name) {
      this.name = name;
  }  
  
  public void add(Transform transform) {
      transforms.add(transform);
  }
  
  public List&lt;Transform&gt; getTransforms() {
      return transforms;
  }
  
  public List&lt;QualityControl&gt; getQualitycontrols() {
      return qualitycontrols;
  }
  
  public void add(QualityControl qualitycontrol) {
      qualitycontrols.add(qualitycontrol);
  }
  }
  </code></pre>
  
  <p>The transform node works just fine and I added the qualitycontrol node which is not working.</p>
  
  <pre><code>@XmlRootElement(name="qualitycontrol")
  @XmlType(propOrder = { "template"})
  public class QualityControl {
  
  private String template;
  
  public QualityControl() {
  }
  
  public String getTemplate() {
      return template;
  }
  
  public void setTemplate(String template) {
      this.template = template;
  }
  
  }
  </code></pre>
  
  <p>When I use public static main to test this code everything works fine but when it gets deployed to the server I get this message:
    ERROR [ProcessMDB] java.lang.NoSuchMethodError: model.Process.getQualitycontrols()Ljava/util/List;</p>
  
  <p>What am I missing ?? 
  All help is highly appreciated.</p>
  
  <p>Thanks
  Joey.</p>