facebook

Hibernate—Association references unmapped class

  1. MyEclipse IDE
  2.  > 
  3. Off Topic
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #270634 Reply

    LEX-LUTHOR
    Member

    hi im mexican and im trying to develop some code with this plug in “hibernate”
    but i get this problem, i know it referes to the mapping in all the tables an relations (12-many, many21) but i cant find the error, if someone know…..
    org.hibernate.MappingException: Association references unmapped class: DireccionPersona
    at org.hibernate.cfg.HbmBinder.bindCollectionSecondPass(HbmBinder.java:2344)
    at org.hibernate.cfg.HbmBinder$CollectionSecondPass.secondPass(HbmBinder.java:2618)
    at org.hibernate.cfg.CollectionSecondPass.doSecondPass(CollectionSecondPass.java:35)
    at org.hibernate.cfg.Configuration.secondPassCompile(Configuration.java:1012)
    at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1168)
    at com.septumlux.hibernate.HibernateSessionFactory.rebuildSessionFactory(HibernateSessionFactory.java)
    at com.septumlux.hibernate.HibernateSessionFactory.getSession(HibernateSessionFactory.java)
    at com.septumlux.hibernate.BaseHibernateDAO.getSession(BaseHibernateDAO.java)
    at com.septumlux.struts.persona.action.AltaPersonaAction.execute(AltaPersonaAction.java:61)
    at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:419)
    at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:224)
    at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1194)
    at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
    at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
    at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
    at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
    at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
    at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
    at java.lang.Thread.run(Thread.java:619)

    other problem why myeclipse throw this message qhen i initialize apache tomcat server 5
    log4j:WARN Please initialize the log4j system properly.

    #270766 Reply

    Riyad Kalla
    Member

    Moving to OT > Soft Dev

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: Hibernate—Association references unmapped class

You must be logged in to post in the forum log in