title: Eclipse: No generator named "system-uuid" is defined in the persistence unit
body: <p>I have a maven enabled project imported into Eclipse. From Eclipse, I get an error "No generator named "system-uuid" is defined in the persistence unit" on the system-uuid portion of the following lines:</p>
  
  <pre><code>@Id @GeneratedValue(generator = "system-uuid")
  @GenericGenerator(name = "system-uuid", strategy = "uuid")
  @Column(length = 36)
  public String getId() {
      return id;
  }
  </code></pre>
  
  <p>The project builds correctly from the command line. What is causing Eclipse to generate this error and how do I fix it?</p>
  
  <p>The persistence file looks like this..</p>
  
  <pre><code>&lt;persistence xmlns="http://java.sun.com/xml/ns/persistence"
      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
      xsi:schemaLocation="http://java.sun.com/xml/ns/persistence 
      http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd"
      version="1.0"&gt;
      &lt;persistence-unit name="xxxx"/&gt;
  &lt;/persistence&gt;
  </code></pre>