Alguém sabe o q ocorre:
(cfg.Environment 483 ) Hibernate 2.1.8
(cfg.Environment 517 ) loaded properties from resource hibernate.properties:
{hibernate.connection.driver_class=org.firebirdsql.jdbc.FBDriver, hibernate.cglib.use_reflection_optimizer=true,
hibernate.cache.provider_class=net.sf.hibernate.cache.EhCacheProvider, hibernate.cache.use_query_cache=true,
hibernate.max_fetch_depth=1, hibernate.dialect=net.sf.hibernate.dialect.InterbaseDialect, hibernate.jdbc.use_streams_for_binary=true,
hibernate.jdbc.batch_size=0, hibernate.query.substitutions=true 1, false 0, yes 'Y', no 'N', hibernate.proxool.pool_alias=pool1,
hibernate.connection.username=SYSDBA, hibernate.cache.region_prefix=hibernate.test,
hibernate.connection.url=jdbc:firebirdsql://localhost/C:/Arquivos de programas/IBOConsole/MUNDOJAVA, hibernate.connection.password=masterkey,
hibernate.jdbc.batch_versioned_data=true, hibernate.connection.pool_size=1}
(cfg.Environment 542 ) using java.io streams to persist binary types
(cfg.Environment 543 ) using CGLIB reflection optimizer
(cfg.Environment 572 ) using JDK 1.4 java.sql.Timestamp handling
(cfg.Configuration 909 ) configuring from resource: /hibernate.cfg.xml
(cfg.Configuration 881 ) Configuration resource: /hibernate.cfg.xml
(cfg.Configuration 332 ) Mapping resource: ./hbm/br/com/mundojava/hibernate/modelo/Artista.hbm.xml
(cfg.Binder 229 ) Mapping class: br.com.mundojava.hibernate.modelo.Artista -> Artista
(cfg.Configuration 332 ) Mapping resource: ./hbm/br/com/mundojava/hibernate/modelo/Capa.hbm.xml
(cfg.Binder 229 ) Mapping class: br.com.mundojava.hibernate.modelo.Capa -> Capa
(cfg.Configuration 332 ) Mapping resource: ./hbm/br/com/mundojava/hibernate/modelo/Musica.hbm.xml
net.sf.hibernate.MappingException: Error reading resource: ./hbm/br/com/mundojava/hibernate/modelo/Cd.hbm.xml
at net.sf.hibernate.cfg.Configuration.addResource(Configuration.java:340)
at net.sf.hibernate.cfg.Configuration.doConfigure(Configuration.java:1027)
at net.sf.hibernate.cfg.Configuration.doConfigure(Configuration.java:983)
at net.sf.hibernate.cfg.Configuration.configure(Configuration.java:911)
at net.sf.hibernate.cfg.Configuration.configure(Configuration.java:897)
at br.com.mundojava.hibernate.main.Main.main(Main.java:33)
Caused by: net.sf.hibernate.MappingException: invalid mapping
at net.sf.hibernate.cfg.Configuration.addInputStream(Configuration.java:288)
at net.sf.hibernate.cfg.Configuration.addResource(Configuration.java:337)
... 5 more
Caused by: org.xml.sax.SAXParseException:
The content of element type "set" is incomplete, it must match "(meta*,(cache|jcs-cache)?,key,(element|one-to-many|many-to-many|composite-element|many-to-any))".
at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown Source)
at org.apache.xerces.util.ErrorHandlerWrapper.error(Unknown Source)
at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
at org.apache.xerces.impl.dtd.XMLDTDValidator.handleEndElement(Unknown Source)
at org.apache.xerces.impl.dtd.XMLDTDValidator.endElement(Unknown Source)
at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
at org.dom4j.io.SAXReader.read(SAXReader.java:339)
at net.sf.hibernate.cfg.Configuration.addInputStream(Configuration.java:287)
... 6 more
(cfg.Binder 229 ) Mapping class: br.com.mundojava.hibernate.modelo.Musica -> musica
(cfg.Configuration 332 ) Mapping resource: ./hbm/br/com/mundojava/hibernate/modelo/Cd.hbm.xml
(util.XMLHelper 48 ) Error parsing XML: XML InputStream(57) The content of element type "set" is incomplete, it must match
"(meta*,(cache|jcs-cache)?,key,(element|one-to-many|many-to-many|composite-element|many-to-any))".