二月?14,?2017?3:43:38?下午?org.hibernate.annotations.common.Version?<clinit>
INFO:?HCANN000001:?Hibernate?Commons?Annotations?{4.0.2.Final}
二月?14,?2017?3:43:38?下午?org.hibernate.Version?logVersion
INFO:?HHH000412:?Hibernate?Core?{4.2.4.Final}
二月?14,?2017?3:43:38?下午?org.hibernate.cfg.Environment?<clinit>
INFO:?HHH000206:?hibernate.properties?not?found
二月?14,?2017?3:43:38?下午?org.hibernate.cfg.Environment?buildBytecodeProvider
INFO:?HHH000021:?Bytecode?provider?name?:?javassist
二月?14,?2017?3:43:38?下午?org.hibernate.cfg.Configuration?configure
INFO:?HHH000043:?Configuring?from?resource:?/hibernate.cfg.xml
二月?14,?2017?3:43:38?下午?org.hibernate.cfg.Configuration?getConfigurationInputStream
INFO:?HHH000040:?Configuration?resource:?/hibernate.cfg.xml
二月?14,?2017?3:43:39?下午?org.hibernate.cfg.Configuration?addResource
INFO:?HHH000221:?Reading?mappings?from?resource:?Students.hbm.xml
二月?14,?2017?3:43:39?下午?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!
二月?14,?2017?3:43:39?下午?org.hibernate.cfg.Configuration?doConfigure
INFO:?HHH000041:?Configured?SessionFactory:?null
二月?14,?2017?3:43:39?下午?org.hibernate.service.jdbc.connections.internal.DriverManagerConnectionProviderImpl?configure
INFO:?HHH000402:?Using?Hibernate?built-in?connection?pool?(not?for?production?use!)
二月?14,?2017?3:43:39?下午?org.hibernate.service.jdbc.connections.internal.DriverManagerConnectionProviderImpl?configure
INFO:?HHH000115:?Hibernate?connection?pool?size:?20
二月?14,?2017?3:43:39?下午?org.hibernate.service.jdbc.connections.internal.DriverManagerConnectionProviderImpl?configure
INFO:?HHH000006:?Autocommit?mode:?false
二月?14,?2017?3:43:39?下午?org.hibernate.service.jdbc.connections.internal.DriverManagerConnectionProviderImpl?configure
INFO:?HHH000401:?using?driver?[com.mysql.jdbc.Driver]?at?URL?[jdbc:mysql://localhost/hibernate]
二月?14,?2017?3:43:39?下午?org.hibernate.service.jdbc.connections.internal.DriverManagerConnectionProviderImpl?configure
INFO:?HHH000046:?Connection?properties:?{user=root,?password=****}
二月?14,?2017?3:43:39?下午?org.hibernate.dialect.Dialect?<init>
INFO:?HHH000400:?Using?dialect:?org.hibernate.dialect.MySQLDialect
2017-03-22
首先Adress實體類 getter setter不全,會導(dǎo)致映射失敗,另外報錯光看這個有效信息太少,看出現(xiàn)紅條的JUnit插件里面的報錯會更準(zhǔn)確目前看出來的就這些。
2017-02-16
最后是Students.hb,.xml
2017-02-16
然后是hibernate
2017-02-16
下面是ADDRESS類
2017-02-16
然后是Students
2017-02-16
2017-02-15
要不你就把包改成命名包把。。。還有就是哪個步驟錯了?你的說啊