Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Stack Overflow by Achaius
, 1 year ago
java.lang.IllegalArgumentException: expecting IdClass mapping	at org.hibernate.metamodel.internal.AttributeFactory$3.resolveMember(AttributeFactory.java:971)	at org.hibernate.metamodel.internal.AttributeFactory$5.resolveMember(AttributeFactory.java:1029)	at org.hibernate.metamodel.internal.AttributeFactory.determineAttributeMetadata(AttributeFactory.java:451)	at org.hibernate.metamodel.internal.AttributeFactory.buildIdAttribute(AttributeFactory.java:128)	at org.hibernate.metamodel.internal.MetadataContext.buildIdClassAttributes(MetadataContext.java:337)	at org.hibernate.metamodel.internal.MetadataContext.applyIdMetadata(MetadataContext.java:269)	at org.hibernate.metamodel.internal.MetadataContext.wrapUp(MetadataContext.java:190)	at org.hibernate.metamodel.internal.MetamodelImpl.initialize(MetamodelImpl.java:219)	at org.hibernate.internal.SessionFactoryImpl.(SessionFactoryImpl.java:296)	at org.hibernate.boot.internal.SessionFactoryBuilderImpl.build(SessionFactoryBuilderImpl.java:476)	at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:707)	at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:723)	at org.springframework.orm.hibernate5.LocalSessionFactoryBean.buildSessionFactory(LocalSessionFactoryBean.java:504)	at org.springframework.orm.hibernate5.LocalSessionFactoryBean.afterPropertiesSet(LocalSessionFactoryBean.java:488)