[jboss-dev-forums] [JBoss AS 7 Development] - HHH015011: Unable to locate static metamodel field

K A do-not-reply at jboss.com
Thu Apr 26 15:27:17 EDT 2012


K A [https://community.jboss.org/people/klejs] created the discussion

"HHH015011: Unable to locate static metamodel field"

To view the discussion, visit: https://community.jboss.org/message/732500#732500

--------------------------------------------------------------
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
[https://community.jboss.org/message/732500#732500]

Start a new discussion in JBoss AS 7 Development at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2225]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-dev-forums/attachments/20120426/1695bd37/attachment.html 


More information about the jboss-dev-forums mailing list