這是錯誤信息:八月 11, 2016 6:38:55 下午 org.hibernate.annotations.common.Version <clinit>INFO: HCANN000001: Hibernate Commons Annotations {4.0.1.Final}八月 11, 2016 6:38:55 下午 org.hibernate.Version logVersionINFO: HHH000412: Hibernate Core {4.1.12.Final}八月 11, 2016 6:38:55 下午 org.hibernate.cfg.Environment <clinit>INFO: HHH000206: hibernate.properties not found八月 11, 2016 6:38:55 下午 org.hibernate.cfg.Environment buildBytecodeProviderINFO: HHH000021: Bytecode provider name : javassist八月 11, 2016 6:38:55 下午 org.hibernate.cfg.Configuration configureINFO: HHH000043: Configuring from resource: /hibernate.cfg.xml八月 11, 2016 6:38:55 下午 org.hibernate.cfg.Configuration getConfigurationInputStreamINFO: HHH000040: Configuration resource: /hibernate.cfg.xml八月 11, 2016 6:38:56 下午 org.hibernate.internal.util.xml.DTDEntityResolver resolveEntityWARN: HHH000223: Recognized obsolete hibernate namespace http://hibernate.sourceforge.net/. Use namespace http://www.hibernate.org/dtd/ instead. Refer to Hibernate 3.6 Migration Guide!八月 11, 2016 6:38:56 下午 org.hibernate.cfg.Configuration addResourceINFO: HHH000221: Reading mappings from resource: Students.hbn.xml這是配置文件里的基本配置信息:? ?? <property name="connection.username">root</property>? ? <property name="conncetion.password">root</property>? ? <!-- 指定數(shù)據(jù)庫的驅(qū)動 -->? ? <property name="conncetion.driver_class">com.mysql.jdbc.Driver</property>? ? <!-- 訪問數(shù)據(jù)庫的地址 -->? ? <property name="conncetion.url">jdbc:mysql://localhost:3306/hibernate?useUnicode=true&characterEncoding=UtF-8</property>? ? <!-- MySQL的方言dialect,針對特殊的數(shù)據(jù)庫進行優(yōu)化 -->? ? <property name="dialect">org.hibernate.dialect.MySQLDialect</property>
各位慕友幫幫忙看看這個問題?
瘋子520520
2016-08-11 18:43:54