SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/E:/PRJ_J2EE/PrjFlexJava/WebContent/WEB-INF/lib/activemq-all-5.14.1.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/E:/PRJ_J2EE/PrjFlexJava/WebContent/WEB-INF/lib/slf4j-log4j12-1.4.3.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
SLF4J: Actual binding is of type [org.slf4j.impl.Log4jLoggerFactory]
2022-09-05 18:24:25,682 INFO org.hibernate.cfg.Environment - Hibernate 3.3.1.GA
2022-09-05 18:24:25,688 INFO org.hibernate.cfg.Environment - hibernate.properties not found
2022-09-05 18:24:25,693 INFO org.hibernate.cfg.Environment - Bytecode provider name : javassist
2022-09-05 18:24:25,699 INFO org.hibernate.cfg.Environment - using JDK 1.4 java.sql.Timestamp handling
2022-09-05 18:24:25,765 INFO org.hibernate.cfg.Configuration - configuring from resource: /hibernate_ehcache/hibernate.cfg.xml
2022-09-05 18:24:25,765 INFO org.hibernate.cfg.Configuration - Configuration resource: /hibernate_ehcache/hibernate.cfg.xml
2022-09-05 18:24:25,796 DEBUG org.hibernate.util.DTDEntityResolver - trying to resolve system-id [http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd]
2022-09-05 18:24:25,797 DEBUG org.hibernate.util.DTDEntityResolver - recognized hibernate namespace; attempting to resolve on classpath under org/hibernate/
2022-09-05 18:24:25,797 DEBUG org.hibernate.util.DTDEntityResolver - located [http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd] in classpath
2022-09-05 18:24:25,853 ERROR org.hibernate.util.XMLHelper - Error parsing XML: /hibernate_ehcache/hibernate.cfg.xml(9) 对实体 "characterEncoding" 的引用必须以 ';' 分隔符结尾。
Exception in thread "main" org.hibernate.HibernateException: Could not parse configuration: /hibernate_ehcache/hibernate.cfg.xml
at org.hibernate.cfg.Configuration.doConfigure(Configuration.java:1528)
at org.hibernate.cfg.Configuration.configure(Configuration.java:1462)
at hibernate_ehcache.HibernateMySqlTest.save(HibernateMySqlTest.java:18)
at hibernate_ehcache.HibernateMySqlTest.main(HibernateMySqlTest.java:53)
Caused by: org.dom4j.DocumentException: Error on line 9 of document : 对实体 "characterEncoding" 的引用必须以 ';' 分隔符结尾。 Nested exception: 对实体 "characterEncoding" 的引用必须以 ';' 分隔符结尾。
at org.dom4j.io.SAXReader.read(SAXReader.java:482)
at org.hibernate.cfg.Configuration.doConfigure(Configuration.java:1518)
... 3 more
<property name="connection.url"><![CDATA[jdbc:mysql://192.168.1.2:3306/mysql?useUnicode=true&characterEncoding=gb2312&serverTimezone=GMT%2B8&useSSL=false]]></property>