Código
jul 30, 2019 9:01:01 PM org.hibernate.annotations.common.reflection.java.JavaReflectionManager <clinit> INFO: HCANN000001: Hibernate Commons Annotations {4.0.4.Final} jul 30, 2019 9:01:01 PM org.hibernate.Version logVersion INFO: HHH000412: Hibernate Core {4.3.1.Final} INFO: HHH000206: hibernate.properties not found INFO: HHH000021: Bytecode provider name : javassist jul 30, 2019 9:01:01 PM org.hibernate.cfg.Configuration configure INFO: HHH000043: Configuring from resource: aplicacion/hibernate/configuracion/hibernate.cfg.xml jul 30, 2019 9:01:01 PM org.hibernate.cfg.Configuration getConfigurationInputStream INFO: HHH000040: Configuration resource: aplicacion/hibernate/configuracion/hibernate.cfg.xml jul 30, 2019 9:01:01 PM 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! jul 30, 2019 9:01:01 PM org.hibernate.cfg.Configuration addResource INFO: HHH000221: Reading mappings from resource: aplicacion/hibernate/mapeos/Mueble.hbm.xml jul 30, 2019 9:01:01 PM 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! jul 30, 2019 9:01:01 PM 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! jul 30, 2019 9:01:01 PM org.hibernate.internal.util.xml.ErrorLogger logErrors ERROR: HHH000196: Error parsing XML (40) : El contenido del tipo de elemento "class" es incompleto, debe coincidir con "(meta*,subselect?,cache?,synchronize*,comment?,tuplizer*,(id|composite-id),discriminator?,natural-id?,(version|timestamp)?,(property|many-to-one|one-to-one|component|dynamic-component|properties|any|map|set|list|bag|idbag|array|primitive-array)*,((join*,subclass*)|joined-subclass*|union-subclass*),loader?,sql-insert?,sql-update?,sql-delete?,filter*,fetch-profile*,resultset*,(query|sql-query)*)". jul 30, 2019 9:01:01 PM org.hibernate.internal.util.xml.ErrorLogger logErrors ERROR: HHH000196: Error parsing XML (40) : El contenido del tipo de elemento "hibernate-mapping" debe coincidir con "(meta*,identifier-generator*,typedef*,filter-def*,import*,(class|subclass|joined-subclass|union-subclass)*,resultset*,(query|sql-query)*,filter-def*,fetch-profile*,database-object*)". jul 30, 2019 9:01:01 PM 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! jul 30, 2019 9:01:01 PM org.hibernate.internal.util.xml.ErrorLogger logErrors ERROR: HHH000196: Error parsing XML (40) : El contenido del tipo de elemento "class" es incompleto, debe coincidir con "(meta*,subselect?,cache?,synchronize*,comment?,tuplizer*,(id|composite-id),discriminator?,natural-id?,(version|timestamp)?,(property|many-to-one|one-to-one|component|dynamic-component|properties|any|map|set|list|bag|idbag|array|primitive-array)*,((join*,subclass*)|joined-subclass*|union-subclass*),loader?,sql-insert?,sql-update?,sql-delete?,filter*,fetch-profile*,resultset*,(query|sql-query)*)". jul 30, 2019 9:01:01 PM org.hibernate.internal.util.xml.ErrorLogger logErrors ERROR: HHH000196: Error parsing XML (40) : El contenido del tipo de elemento "hibernate-mapping" debe coincidir con "(meta*,identifier-generator*,typedef*,filter-def*,import*,(class|subclass|joined-subclass|union-subclass)*,resultset*,(query|sql-query)*,filter-def*,fetch-profile*,database-object*)". Initial SessionFactory creation failed.org.hibernate.InvalidMappingException: Unable to read XML at aplicacion.hibernate.util.HibernateUtil.<clinit>(HibernateUtil.java:29) at aplicacion.hibernate.dao.imp.MuebleDAOImp.create(MuebleDAOImp.java:22) Caused by: org.hibernate.InvalidMappingException: Unable to read XML at org.hibernate.internal.util.xml.MappingReader.legacyReadMappingDocument(MappingReader.java:375) at org.hibernate.internal.util.xml.MappingReader.readMappingDocument(MappingReader.java:304) at org.hibernate.cfg.Configuration.add(Configuration.java:516) at org.hibernate.cfg.Configuration.add(Configuration.java:512) at org.hibernate.cfg.Configuration.add(Configuration.java:686) at org.hibernate.cfg.Configuration.addResource(Configuration.java:769) at org.hibernate.cfg.AnnotationConfiguration.addResource(AnnotationConfiguration.java:123) at org.hibernate.cfg.AnnotationConfiguration.addResource(AnnotationConfiguration.java:46) at org.hibernate.cfg.Configuration.parseMappingElement(Configuration.java:2255) at org.hibernate.cfg.Configuration.parseSessionFactory(Configuration.java:2227) at org.hibernate.cfg.Configuration.doConfigure(Configuration.java:2207) at org.hibernate.cfg.AnnotationConfiguration.doConfigure(AnnotationConfiguration.java:213) at org.hibernate.cfg.AnnotationConfiguration.doConfigure(AnnotationConfiguration.java:46) at org.hibernate.cfg.Configuration.doConfigure(Configuration.java:2160) at org.hibernate.cfg.AnnotationConfiguration.doConfigure(AnnotationConfiguration.java:201) at org.hibernate.cfg.AnnotationConfiguration.doConfigure(AnnotationConfiguration.java:46) at org.hibernate.cfg.Configuration.configure(Configuration.java:2075) at org.hibernate.cfg.AnnotationConfiguration.configure(AnnotationConfiguration.java:183) at aplicacion.hibernate.util.HibernateUtil.<clinit>(HibernateUtil.java:25) ... 2 more Caused by: org.xml.sax.SAXParseException; lineNumber: 44; columnNumber: 39; El contenido del tipo de elemento "class" es incompleto, debe coincidir con "(meta*,subselect?,cache?,synchronize*,comment?,tuplizer*,(id|composite-id),discriminator?,natural-id?,(version|timestamp)?,(property|many-to-one|one-to-one|component|dynamic-component|properties|any|map|set|list|bag|idbag|array|primitive-array)*,((join*,subclass*)|joined-subclass*|union-subclass*),loader?,sql-insert?,sql-update?,sql-delete?,filter*,fetch-profile*,resultset*,(query|sql-query)*)". at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:203) at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.error(ErrorHandlerWrapper.java:134) at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:396) at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:327) at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:284) at com.sun.org.apache.xerces.internal.impl.dtd.XMLDTDValidator.handleEndElement(XMLDTDValidator.java:1994) at com.sun.org.apache.xerces.internal.impl.dtd.XMLDTDValidator.emptyElement(XMLDTDValidator.java:769) at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartElement(XMLNSDocumentScannerImpl.java:351) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:2784) at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:602) at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSDocumentScannerImpl.java:112) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:505) at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:842) at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:771) at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:141) at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1213) at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:643) at org.dom4j.io.SAXReader.read(SAXReader.java:465) at org.hibernate.internal.util.xml.MappingReader.legacyReadMappingDocument(MappingReader.java:325) ... 20 more C:\Users\Ana\AppData\Local\NetBeans\Cache\8.2\executor-snippets\run.xml:53: Java returned: 1 BUILD FAILED (total time: 2 seconds)