JWorld@TW the best professional Java site in Taiwan
      註冊 | 登入 | 全文檢索 | 排行榜  

» JWorld@TW » Web Framework  

按列印兼容模式列印這個話題 列印話題    把這個話題寄給朋友 寄給朋友    訂閱主題
reply to topicthreaded modego to previous topicgo to next topic
本主題所含的標籤
無標籤
作者 nested exception is java.lang.NoClassDefFoundError: org/hibernate/cfg/Configuration
ganbahsu





發文: 38
積分: 0
於 2012-04-18 17:09 user profilesend a private message to userreply to postreply to postsearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
各位大大,最近進行hibernate jar檔更換時出現下列錯誤
1
ERROR [com.tsb.ipms.appl.services.ServiceManager] - <org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'Harmonation' defined in file [C:\bea\wlserver_10.3\samples\server\examples\build\serverclasses\IPMSApplicationContext.xml]: Cannot resolve reference to bean 'IPMSDao' while setting bean property 'dao'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'IPMSDao' defined in file [C:\bea\wlserver_10.3\samples\server\examples\build\serverclasses\IPMSApplicationContext.xml]: Cannot resolve reference to bean 'sessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in file [C:\bea\wlserver_10.3\samples\server\examples\build\serverclasses\IPMSApplicationContext.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [org.springframework.orm.hibernate3.LocalSessionFactoryBean]: Constructor threw exception; nested exception is java.lang.NoClassDefFoundError: org/hibernate/cfg/Configuration>


之前運行正常的版本為hibernate-3.2.6.ga.jar,spring為2.5.5
出現錯誤版本為hibernate3.jar,spring為2.5.5
看過ear檔中有包入hibernate3.jar
但不知系統為何都讀不到
系統為weblogic
再麻煩各位大大幫忙解答,謝謝


ganbahsu edited on 2012-04-18 17:11
reply to postreply to post
作者 Re:nested exception is java.lang.NoClassDefFoundError: org/hibernate/cfg/Configuration [Re:ganbahsu]
ganbahsu





發文: 38
積分: 0
於 2012-04-19 09:12 user profilesend a private message to userreply to postreply to postsearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
沒人有遇過這問題嗎,還是我問題描述的不夠清楚,再麻煩各位大大了

reply to postreply to post
» JWorld@TW »  Web Framework

reply to topicthreaded modego to previous topicgo to next topic
  已讀文章
  新的文章
  被刪除的文章
Jump to the top of page

JWorld@TW 本站商標資訊

Powered by Powerful JuteForum® Version Jute 1.5.8