[Resolvido] Erro no hibernate

Pessoal, sabem o porque está acontecendo esse erro?

run: Veio no save or update Mai 17, 2013 8:33:28 AM org.hibernate.annotations.common.Version <clinit> INFO: HCANN000001: Hibernate Commons Annotations {4.0.1.Final} Mai 17, 2013 8:33:28 AM org.hibernate.Version logVersion INFO: HHH000412: Hibernate Core {4.2.1.Final} Mai 17, 2013 8:33:28 AM org.hibernate.cfg.Environment <clinit> INFO: HHH000206: hibernate.properties not found Mai 17, 2013 8:33:28 AM org.hibernate.cfg.Environment buildBytecodeProvider INFO: HHH000021: Bytecode provider name : javassist Mai 17, 2013 8:33:28 AM org.hibernate.cfg.Configuration configure INFO: HHH000043: Configuring from resource: /hibernate.cfg.xml Mai 17, 2013 8:33:28 AM org.hibernate.cfg.Configuration getConfigurationInputStream INFO: HHH000040: Configuration resource: /hibernate.cfg.xml Mai 17, 2013 8:33:28 AM org.hibernate.internal.util.xml.DTDEntityResolver resolveEntity WARN: HHH000223: Recognized obsolete hibernate namespace http://hibernate.sourceforge.net/. Use namespace http://www.hibernate.org/dtd/ instead. Refer to Hibernate 3.6 Migration Guide! Mai 17, 2013 8:33:28 AM org.hibernate.cfg.Configuration doConfigure INFO: HHH000041: Configured SessionFactory: null Initial SessionFactory creation failed.org.hibernate.AnnotationException: @OneToOne or @ManyToOne on model.Historicocorretivaproduto.historicomanutencao references an unknown entity: model.Historicomanutencao Exception in thread "AWT-EventQueue-0" java.lang.ExceptionInInitializerError at dao.HibernateUtil.getSessionFactory(HibernateUtil.java:62) at dao.GenericDao.saveOrUpdate(GenericDao.java:105) at view.VPrincipal.<init>(VPrincipal.java:30) at view.VPrincipal$4.run(VPrincipal.java:201) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:251) at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:727) at java.awt.EventQueue.access$200(EventQueue.java:103) at java.awt.EventQueue$3.run(EventQueue.java:688) at java.awt.EventQueue$3.run(EventQueue.java:686) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76) at java.awt.EventQueue.dispatchEvent(EventQueue.java:697) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138) at java.awt.EventDispatchThread.run(EventDispatchThread.java:91) Caused by: org.hibernate.AnnotationException: @OneToOne or @ManyToOne on model.Historicocorretivaproduto.historicomanutencao references an unknown entity: model.Historicomanutencao at org.hibernate.cfg.ToOneFkSecondPass.doSecondPass(ToOneFkSecondPass.java:109) at org.hibernate.cfg.Configuration.processEndOfQueue(Configuration.java:1532) at org.hibernate.cfg.Configuration.processFkSecondPassInOrder(Configuration.java:1453) at org.hibernate.cfg.Configuration.secondPassCompile(Configuration.java:1358) at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1747) at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1798) at dao.HibernateUtil.getSessionFactory(HibernateUtil.java:50) ... 17 more CONSTRUÍDO COM SUCESSO (tempo total: 1 segundo)

Você mapeou essa entidade Historicomanutencao em algum momento?

Cara, tinha esquecido de colocar no HibernateUtils… Pior de tudo que eu conferi rsrsrs

Muito obrigado.

Abraços