Converted to maven project & jpa project