org.hibernate.AnnotationException: Use of @OneToMany or @ManyToMany targeting an unmapped class: com.openxava.naviox.model.Role.reports [org.openxava.kiosko.model.Report]

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 openxava by mengon05
, 1 year ago
Use of @OneToMany or @ManyToMany targeting an unmapped class: com.openxava.naviox.model.Role.reports[org.openxava.kiosko.model.Report]
via Stack Overflow by Dave
, 2 years ago
Use of @OneToMany or @ManyToMany targeting an unmapped class: org.mainco.subco.pd.domain.TrainingSessionTeacher.subjects[java.lang.String]
via Stack Overflow by Jerry Schirmer
, 2 years ago
Use of @OneToMany or @ManyToMany targeting an unmapped class: cars.AutoDealership.vehicle[cars.Vehicle]
via Stack Overflow by Marco
, 1 year ago
Use of @OneToMany or @ManyToMany targeting an unmapped class: model.pojos.Wheelchair.materials[model.pojos.Material]
via Stack Overflow by Ben Dol
, 2 years ago
Use of @OneToMany or @ManyToMany targeting an unmapped class: nz.co.doltech.ims.project.server.entities.CategoryEntity.incidentCategoryJoins[nz.co.doltech.ims.project.server.entities.IncidentCategoryJoin]
via Stack Overflow by IAmYourFaja
, 2 years ago
Use of @OneToMany or @ManyToMany targeting an unmapped class: net.me.myapp.common.dal.dto.WordDTO.synonyms[net.me.myapp.common.model.Word]
org.hibernate.AnnotationException: Use of @OneToMany or @ManyToMany targeting an unmapped class: com.openxava.naviox.model.Role.reports [org.openxava.kiosko.model.Report]
at org.hibernate.cfg.annotations.CollectionBinder.bindManyToManySecondPass(CollectionBinder.java:1185)
at org.hibernate.cfg.annotations.CollectionBinder.bindStarToManySecondPass(CollectionBinder.java:710)
at org.hibernate.cfg.annotations.CollectionBinder$1.secondPass(CollectionBinder.java:645)
at org.hibernate.cfg.CollectionSecondPass.doSecondPass(CollectionSecondPass.java:65)
at org.hibernate.cfg.Configuration.originalSecondPassCompile(Configuration.java:1716)
at org.hibernate.cfg.Configuration.secondPassCompile(Configuration.java:1423)
at com.openxava.naviox.impl.DB.createDB(DB.java:113)
at com.openxava.naviox.impl.DB.init(DB.java:32)
at com.openxava.naviox.Modules.init(Modules.java:36)
at com.openxava.naviox.web.NaviOXFilter.init(NaviOXFilter.java:24)
at org.apache.catalina.core.ApplicationFilterConfig.initFilter(ApplicationFilterConfig.java:279)
at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:260)
at org.apache.catalina.core.ApplicationFilterConfig.(ApplicationFilterConfig.java:105)
at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4908)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5602)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:147)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1572)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
at java.lang.Thread.run(Thread.java:662)

Users with the same issue

7 times, 1 week ago
2 times, 3 months ago
Once, 7 months ago
4 times, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago

Write tip

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