INFO: HHH000412: Hibernate Core {4.3.9.Final}
Mai 12, 2015 9:29:52 AM org.hibernate.cfg.Environment <clinit>
INFO: HHH000205: Loaded properties from resource hibernate.properties: {hibernate.connection.driver_class=org.h2.Driver, hibernate.service.allow_crawling=false, hibernate.dialect=org.hibernate.dialect.H2Dialect, hibernate.max_fetch_depth=5, hibernate.format_sql=true, hibernate.generate_statistics=true, hibernate.connection.username=sa, hibernate.connection.url=jdbc:h2:mem:db1;DB_CLOSE_ DELAY=-1;MVCC=TRUE, hibernate.bytecode.use_reflection_optimizer=false, hibernate.jdbc.batch_versioned_data=true, hibernate.connection.pool_size=5}
Mai 12, 2015 9:29:52 AM org.hibernate.cfg.Environment buildBytecodeProvider
INFO: HHH000021: Bytecode provider name : javassist
Mai 12, 2015 9:29:52 AM org.hibernate.cfg.Configuration configure
INFO: HHH000043: Configuring from resource: /hibernate.cfg.xml
Mai 12, 2015 9:29:52 AM org.hibernate.cfg.Configuration getConfigurationInputStream
INFO: HHH000040: Configuration resource: /hibernate.cfg.xml
Fehler beim erstellen der SessionFactory
org.hibernate.HibernateException: Could not parse configuration: /hibernate.cfg.xml
at org.hibernate.cfg.Configuration.doConfigure(Config uration.java:2165)
at org.hibernate.cfg.Configuration.configure(Configur ation.java:2077)
at org.hibernate.cfg.Configuration.configure(Configur ation.java:2056)
at hibernate.HibernateTest.main(HibernateTest.java:23 )
Caused by: org.dom4j.DocumentException: Error on line 16 of document : Öffnendes Anführungszeichen wird für Attribut "{1}" erwartet, das mit Elementtyp "name" verknüpft ist. Nested
exception: Öffnendes Anführungszeichen wird für Attribut "{1}" erwartet, das mit Elementtyp "name" verknüpft ist.
at org.dom4j.io.SAXReader.read(SAXReader.java:482)
at org.hibernate.cfg.Configuration.doConfigure(Config uration.java:2157)
... 3 more