org.hibernate.AnnotationException: mappedBy reference an unknown target entity property: oodb.Model.articles in oodb.Article.models

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 Francesco
, 1 year ago
mappedBy reference an unknown target entity property: oodb.Model.articles in oodb.Article.models
via Stack Overflow by abdou amer
, 1 year ago
mappedBy reference an unknown target entity property: model.LineCommand.pk.product in model.Product.lineItems
via Stack Overflow by Raghu
, 2 years ago
mappedBy reference an unknown target entity property: com.abc.its.beans.VehicleRegisterBean.GroupDetails in com.abc.its.beans.GroupDetails.vehicleRegisterBean
via Oracle Community by 666334, 1 year ago
mappedBy reference an unknown target entity property: test.Account.address
via Oracle Community by 666334, 1 year ago
mappedBy reference an unknown target entity property: test.Account.address
via Stack Overflow by Unknown author, 2 years ago
mappedBy reference an unknown target entity property: database.tables.Work.project_id in database.tables.Project.works
org.hibernate.AnnotationException: mappedBy reference an unknown target entity property: oodb.Model.articles in oodb.Article.models
at org.hibernate.cfg.annotations.CollectionBinder.bindStarToManySecondPass(CollectionBinder.java:775)
at org.hibernate.cfg.annotations.CollectionBinder$1.secondPass(CollectionBinder.java:725)
at org.hibernate.cfg.CollectionSecondPass.doSecondPass(CollectionSecondPass.java:54)
at org.hibernate.boot.internal.InFlightMetadataCollectorImpl.processSecondPasses(InFlightMetadataCollectorImpl.java:1621)
at org.hibernate.boot.internal.InFlightMetadataCollectorImpl.processSecondPasses(InFlightMetadataCollectorImpl.java:1589)
at org.hibernate.boot.model.process.spi.MetadataBuildingProcess.complete(MetadataBuildingProcess.java:278)
at org.hibernate.boot.model.process.spi.MetadataBuildingProcess.build(MetadataBuildingProcess.java:83)
at org.hibernate.boot.internal.MetadataBuilderImpl.build(MetadataBuilderImpl.java:418)
at org.hibernate.boot.internal.MetadataBuilderImpl.build(MetadataBuilderImpl.java:87)
at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:691)
at testoodb.CreaArticolo.main(CreaArticolo.java:20)

Users with the same issue

Once, 1 month ago
32 times, 2 months ago
19 times, 2 months ago
Once, 3 months ago
8 times, 5 months ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.