天空是藍色的

          做好軟件為中國 #gcc -c helloworld.c -o helloworld.o //編譯目標文件 #gcc helloworld.o -o helloworld //編譯成可執(zhí)行exe #helloworld //運行exe
          數(shù)據(jù)加載中……
          [轉(zhuǎn)載]hibernate錯誤信息

          出處: http://spaces.msn.com/members/kliweik/
          No row with the given identifier exists

          表示你現(xiàn)在查詢的對象所關(guān)聯(lián)的對象有問題,一般是因為數(shù)據(jù)的問題(該對象所關(guān)聯(lián)的對象找不到)

          Caused by: org.dom4j.DocumentException: Invalid byte 2 of 2-byte UTF-8 sequence. Nested exception: Invalid byte 2 of 2-byte UTF-8 sequence.
          如果出現(xiàn)這行錯誤說明你的xml配置文件有不規(guī)范的字符,檢查下。

          net.sf.hibernate.MappingException: Error reading resource: hibernate/Hello_Bean.hbm.xml
          如果出現(xiàn)這行錯誤說明你的hibernate的XML配置文件有錯

          net.sf.hibernate.MappingException: Resource: hibernate/Hello_Bean.hbm.xml not found
          如果出現(xiàn)這行錯誤說明hibernate的XML配置文件沒有找到,你應(yīng)該把XML文件放在與你的類文件同個目錄下,本文中是放在hibernate\classes\hibernate\目錄下,也就是跟Hello_Bean.class類文件一起。

          net.sf.hibernate.PropertyNotFoundException: Could not find a setter for property name in class hibernate.Hello_Bean
          如果出現(xiàn)這行錯誤說明你的xml文件里設(shè)置的字段名name的值與Hello_Bean.java類里的getXXX或setXXX方法不一致。

          net.sf.hibernate.HibernateException: JDBC Driver class not found: org.gjt.mm.mysql.Driver
          如果出現(xiàn)這行錯誤說明你的MYSQL驅(qū)動沒有加進JB庫里或者不在CLASSPATH里。

          posted on 2005-12-29 17:43 bluesky 閱讀(629) 評論(1)  編輯  收藏 所屬分類: 工作總結(jié)

          評論

          # re: [轉(zhuǎn)載]hibernate錯誤信息 2015-08-15 13:12 cngoogle.so

          非常好,終于解決了我的問題
            回復(fù)  更多評論    
          主站蜘蛛池模板: 凉城县| 漳平市| 浏阳市| 九江县| 吉安县| 三江| 内江市| 宽城| 缙云县| 新野县| 罗甸县| 甘肃省| 凤城市| 确山县| 犍为县| 淮滨县| 聊城市| 张家港市| 清远市| 红安县| 新兴县| 沛县| 开原市| 乌什县| 清远市| 东台市| 布尔津县| 金沙县| 嘉荫县| 称多县| 镇平县| 定兴县| 崇阳县| 镇安县| 双城市| 革吉县| 高阳县| 巨鹿县| 宿迁市| 资溪县| 宜昌市|