ron c king - 2012-08-19

Hi All, How can I fix this error when I run my project made from MP to run with openxava?

org.hibernate.AnnotationException: mappedBy reference an unknown target entity property: techconf.techconf.domain.techconf.Grouppricingrule.pkId in techconf.techconf.domain.techconf.Pricingrule.grouppricingrulePricingruleViaPkId
org.hibernate.cfg.annotations.CollectionBinder.bindStarToManySecondPass(CollectionBinder.java:685)
org.hibernate.cfg.annotations.CollectionBinder$1.secondPass(CollectionBinder.java:645)
org.hibernate.cfg.CollectionSecondPass.doSecondPass(CollectionSecondPass.java:65)
org.hibernate.cfg.Configuration.originalSecondPassCompile(Configuration.java:1716)
org.hibernate.cfg.Configuration.secondPassCompile(Configuration.java:1423)
org.hibernate.cfg.Configuration.buildMappings(Configuration.java:1375)
org.hibernate.ejb.Ejb3Configuration.buildMappings(Ejb3Configuration.java:1519)
org.hibernate.ejb.EventListenerConfigurator.configure(EventListenerConfigurator.java:193)
org.hibernate.ejb.Ejb3Configuration.configure(Ejb3Configuration.java:1100)
org.hibernate.ejb.Ejb3Configuration.configure(Ejb3Configuration.java:282)
org.hibernate.ejb.Ejb3Configuration.configure(Ejb3Configuration.java:366)
org.hibernate.ejb.HibernatePersistence.createEntityManagerFactory(HibernatePersistence.java:56)
javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:63)
org.openxava.jpa.XPersistence.getEntityManagerFactory(XPersistence.java:182)
org.openxava.jpa.XPersistence.createManager(XPersistence.java:108)
org.openxava.annotations.parse.AnnotatedClassParser.obtainManagedClassNamesUsingJPA(AnnotatedClassParser.java:2449)
org.openxava.annotations.parse.AnnotatedClassParser.getManagedClassNames(AnnotatedClassParser.java:2365)
org.openxava.annotations.parse.AnnotatedClassParser.getClassNameFor(AnnotatedClassParser.java:2317)
org.openxava.annotations.parse.AnnotatedClassParser.parse(AnnotatedClassParser.java:66)
org.openxava.component.ComponentParser.parseAnnotatedClass(ComponentParser.java:47)
org.openxava.component.ComponentParser.parse(ComponentParser.java:36)
org.openxava.component.MetaComponent.get(MetaComponent.java:60)
org.openxava.controller.ModuleManager.setModuleName(ModuleManager.java:1000)
org.apache.jsp.xava.home_jsp._jspService(home_jsp.java:168)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:374)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:342)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:267)
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)