What does this error mean?
07:48:42,807 ERROR [org.hibernate.jpa.internal.metamodel.MetadataContext] (ServerService Thread Pool -- 25) HHH015011: Unable to locate static metamodel field : com.lm.model.UserId_#id
This is how that field is defined
@Embeddable
public class UserId implements Identifier<UserId> {
@Column( name = "user_id", columnDefinition = "uuid" )
protected UUID id;
I stumbled across the same issue. I don't think it is a bug. This error occurs when you add/edit your entity model, for example a new field was added in the entity class.
To over come this error, you have to regenerate the meta model. Clean your project and build it gain.
If using Maven run maven clean. (provided you POM is configured correctly so that it regenerate the meta model which the JPA needs).
It seems to be bug in Hibernate itself. It is described here: https://hibernate.atlassian.net/browse/HHH-8712
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With