JBoss Community

HHH015011: Unable to locate static metamodel field

created by K A in JBoss AS 7 Development - View the full discussion

Hi,

 

I started porting an JEE5 application from JBoss 4.2 to JBoss 7.1.1 today. Everything has gone quite nice but one thing; when I am deploying the application I get an error log saying something like:

 

HHH015011: Unable to locate static metamodel field : com.myapp.MyEntity_#mMyField

 

The class is annotated with @MappedSuperclass and looks something like this:

 

@MappedSuperclass

public class EternalEntity {

 

   @Basic

   @Column(name="active")

   private String mMyField;

  

   public String getMyField() {

      return mMyField;

   }

 

   public void setMyField(String myField) {

      mMyField = myField;

   }

}

 

Everything works ok in JBoss 4.2. Has anyone seen this error before and knows how to solve it?

 

Thanks in advance

 

/KA

Reply to this message by going to Community

Start a new discussion in JBoss AS 7 Development at Community