第七色在线视频,2021少妇久久久久久久久久,亚洲欧洲精品成人久久av18,亚洲国产精品特色大片观看完整版,孙宇晨将参加特朗普的晚宴

為了賬號(hào)安全,請(qǐng)及時(shí)綁定郵箱和手機(jī)立即綁定

運(yùn)行時(shí)報(bào)錯(cuò),HCANN000001: Hibernate Commons Annotations {4.0.2.Final} HHH000206: hibernate.properties not found HHH000046: Connection properties: {user=root, password=****}

四月 24, 2016 12:38:08 下午 org.hibernate.annotations.common.Version <clinit>

INFO: HCANN000001: Hibernate Commons Annotations {4.0.2.Final}

四月 24, 2016 12:38:08 下午 org.hibernate.Version logVersion

INFO: HHH000412: Hibernate Core {4.2.4.Final}

四月 24, 2016 12:38:08 下午 org.hibernate.cfg.Environment <clinit>

INFO: HHH000206: hibernate.properties not found

四月 24, 2016 12:38:08 下午 org.hibernate.cfg.Environment buildBytecodeProvider

INFO: HHH000021: Bytecode provider name : javassist

四月 24, 2016 12:38:08 下午 org.hibernate.cfg.Configuration configure

INFO: HHH000043: Configuring from resource: /hibernate.cfg.xml

四月 24, 2016 12:38:08 下午 org.hibernate.cfg.Configuration getConfigurationInputStream

INFO: HHH000040: Configuration resource: /hibernate.cfg.xml

四月 24, 2016 12:38:08 下午 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!

四月 24, 2016 12:38:08 下午 org.hibernate.cfg.Configuration addResource

INFO: HHH000221: Reading mappings from resource: Students.hbm.xml

四月 24, 2016 12:38:08 下午 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!

四月 24, 2016 12:38:08 下午 org.hibernate.cfg.Configuration doConfigure

INFO: HHH000041: Configured SessionFactory: null

四月 24, 2016 12:38:08 下午 org.hibernate.service.jdbc.connections.internal.DriverManagerConnectionProviderImpl configure

INFO: HHH000402: Using Hibernate built-in connection pool (not for production use!)

四月 24, 2016 12:38:08 下午 org.hibernate.service.jdbc.connections.internal.DriverManagerConnectionProviderImpl configure

INFO: HHH000115: Hibernate connection pool size: 20

四月 24, 2016 12:38:08 下午 org.hibernate.service.jdbc.connections.internal.DriverManagerConnectionProviderImpl configure

INFO: HHH000006: Autocommit mode: false

四月 24, 2016 12:38:08 下午 org.hibernate.service.jdbc.connections.internal.DriverManagerConnectionProviderImpl configure

INFO: HHH000401: using driver [com.mysql.jdbc.Driver] at URL [jdbc:mysql:///hibernate?useUnicode=true&charcterEncoding=UTF-8]

四月 24, 2016 12:38:08 下午 org.hibernate.service.jdbc.connections.internal.DriverManagerConnectionProviderImpl configure

INFO: HHH000046: Connection properties: {user=root, password=****}

571c5a530001e08a05000181.jpg

571c5a530001270305000216.jpg

571c5a5300011b9305000406.jpg


正在回答

5 回答

提示的錯(cuò)誤:hibernate.properties not found,也就是說(shuō)你填寫(xiě)的屬性信息找不到,

<property name="connection.url">jdbc:mysql://localhost:3306/hibernate</property>換成這個(gè)試試

0 回復(fù) 有任何疑惑可以回復(fù)我~
#1

長(zhǎng)頸鹿在附近 提問(wèn)者

非常感謝!
2016-04-25 回復(fù) 有任何疑惑可以回復(fù)我~

我也碰到了,jdbc:mysql://localhost:3306/hibernate改成這樣也不行,

hibernate.properties not found,就是這個(gè)錯(cuò)誤

0 回復(fù) 有任何疑惑可以回復(fù)我~

2016-4-30 14:08:46 org.hibernate.annotations.common.Version <clinit>

INFO: HCANN000001: Hibernate Commons Annotations {4.0.2.Final}

2016-4-30 14:08:46 org.hibernate.Version logVersion

INFO: HHH000412: Hibernate Core {4.2.4.Final}

2016-4-30 14:08:46 org.hibernate.cfg.Environment <clinit>

INFO: HHH000206: hibernate.properties not found

2016-4-30 14:08:46 org.hibernate.cfg.Environment buildBytecodeProvider

INFO: HHH000021: Bytecode provider name : javassist

2016-4-30 14:08:46 org.hibernate.cfg.Configuration configure

INFO: HHH000043: Configuring from resource: /hibernate.cfg.xml

2016-4-30 14:08:46 org.hibernate.cfg.Configuration getConfigurationInputStream

INFO: HHH000040: Configuration resource: /hibernate.cfg.xml

2016-4-30 14:08:47 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!

2016-4-30 14:08:47 org.hibernate.cfg.Configuration addResource

INFO: HHH000221: Reading mappings from resource: Teachers/hbm.xml


0 回復(fù) 有任何疑惑可以回復(fù)我~
#1

長(zhǎng)頸鹿在附近 提問(wèn)者

我忘掉了,這是哪節(jié)課?我可以把我以前的代碼給你
2016-04-30 回復(fù) 有任何疑惑可以回復(fù)我~
#2

笑問(wèn)紅塵 回復(fù) 長(zhǎng)頸鹿在附近 提問(wèn)者

就是那個(gè)用struts2+hibernate做學(xué)生信息管理系統(tǒng)的那個(gè),我全程參照老師的來(lái)寫(xiě),然而還是出錯(cuò)了,再做test的時(shí)候數(shù)據(jù)庫(kù)不能建表
2016-04-30 回復(fù) 有任何疑惑可以回復(fù)我~
#3

長(zhǎng)頸鹿在附近 提問(wèn)者 回復(fù) 笑問(wèn)紅塵

最后一個(gè)?我沒(méi)做到呀,你還是仔細(xì)再對(duì)照一下,另外,極有可能是連接數(shù)據(jù)庫(kù)的jar包版本太低,你試一下吧
2016-04-30 回復(fù) 有任何疑惑可以回復(fù)我~
#4

笑問(wèn)紅塵 回復(fù) 長(zhǎng)頸鹿在附近 提問(wèn)者

我在再看一次,然后把所有包全部和老師的同步試試。。
2016-04-30 回復(fù) 有任何疑惑可以回復(fù)我~
#5

笑問(wèn)紅塵 回復(fù) 長(zhǎng)頸鹿在附近 提問(wèn)者

完全是一模一樣的還是出了問(wèn)題,我真心不知道問(wèn)題在哪兒了。。從包到代碼都是一樣的還出錯(cuò)。。
2016-04-30 回復(fù) 有任何疑惑可以回復(fù)我~
#6

Like_a_fool 回復(fù) 笑問(wèn)紅塵

你這個(gè)問(wèn)題解決了嗎,hibernate resource not found
2016-06-04 回復(fù) 有任何疑惑可以回復(fù)我~
#7

寂忄乙 回復(fù) 長(zhǎng)頸鹿在附近 提問(wèn)者

我也是這個(gè)錯(cuò)誤啊,用你的方法改了一下還是不行
2016-07-07 回復(fù) 有任何疑惑可以回復(fù)我~
#8

寂忄乙 回復(fù) 笑問(wèn)紅塵

你問(wèn)題解決啦嗎
2016-07-07 回復(fù) 有任何疑惑可以回復(fù)我~
#9

qq_安靜的人兒_0

同學(xué)你最后解決了嗎,我也是同樣的問(wèn)題,不能生成表。
2016-11-18 回復(fù) 有任何疑惑可以回復(fù)我~
查看6條回復(fù)

mysql JDBC URL格式如下:jdbc:mysql://[host:port],[host:port].../[database][?參數(shù)名1][=參數(shù)值1][&參數(shù)名2][=參數(shù)值2]...既然三條斜杠是簡(jiǎn)寫(xiě) 應(yīng)該是省略了[host:post]參數(shù)吧

0 回復(fù) 有任何疑惑可以回復(fù)我~
#1

長(zhǎng)頸鹿在附近 提問(wèn)者

嗯,謝謝回復(fù)
2016-04-25 回復(fù) 有任何疑惑可以回復(fù)我~
#2

笑問(wèn)紅塵

層主,我和樓主遇到的問(wèn)題差不多,按照你改的仍然沒(méi)有用,能請(qǐng)你幫我看看問(wèn)題出哪兒了么?我把報(bào)錯(cuò)代碼寫(xiě)下面
2016-04-30 回復(fù) 有任何疑惑可以回復(fù)我~

昨天試的時(shí)候不知道怎樣的突然就通過(guò)了,這樣的寫(xiě)法與簡(jiǎn)寫(xiě)有什么區(qū)別嗎?

0 回復(fù) 有任何疑惑可以回復(fù)我~

舉報(bào)

0/150
提交
取消

運(yùn)行時(shí)報(bào)錯(cuò),HCANN000001: Hibernate Commons Annotations {4.0.2.Final} HHH000206: hibernate.properties not found HHH000046: Connection properties: {user=root, password=****}

我要回答 關(guān)注問(wèn)題
微信客服

購(gòu)課補(bǔ)貼
聯(lián)系客服咨詢優(yōu)惠詳情

幫助反饋 APP下載

慕課網(wǎng)APP
您的移動(dòng)學(xué)習(xí)伙伴

公眾號(hào)

掃描二維碼
關(guān)注慕課網(wǎng)微信公眾號(hào)