spring
My Links
BlogJava
首頁
新隨筆
聯系
聚合
管理
Blog Stats
Posts - 18
Stories - 6
Comments - 15
Trackbacks - 0
常用鏈接
我的隨筆
我的評論
我的參與
最新評論
留言簿
(3)
給我留言
查看公開留言
查看私人留言
隨筆分類
分類1
(rss)
隨筆檔案
2013年4月 (1)
2012年2月 (1)
2010年2月 (1)
2010年1月 (1)
2009年12月 (1)
2009年11月 (1)
2009年10月 (3)
2009年7月 (1)
2009年6月 (2)
2009年5月 (3)
2009年4月 (1)
文章檔案
2009年6月 (1)
2009年4月 (6)
搜索
最新評論
1.?re: 請問:如何使用iReport設置excel的sheet name呢?
評論內容較長,點擊標題查看
--池
2.?re: 請問:如何使用iReport設置excel的sheet name呢?
這個問題解決了嗎?我也遇到相同的問題了
--沐浴勁風
3.?re: java反射,從遍歷的list中得到所存的對象,并判斷該對象的類、取出其屬性和屬性值
直接傳入對象的類型啊
--hsy
4.?re: 關于ssh整合問題:Context initialization failed
這個問題 在我這被同事兩下搞定 我目前還不知道什么情況
--11111
5.?re: java反射,從遍歷的list中得到所存的對象,并判斷該對象的類、取出其屬性和屬性值[未登錄]
評論內容較長,點擊標題查看
--k
閱讀排行榜
1.?java反射,從遍歷的list中得到所存的對象,并判斷該對象的類、取出其屬性和屬性值(10386)
2.?關于ssh整合問題:Context initialization failed(6522)
3.?請問:如何使用iReport設置excel的sheet name呢?(2012)
4.?MS SQL 日期時間函數大全(1268)
5.?基于XML的用戶組權限管理與控制(977)
評論排行榜
1.?java反射,從遍歷的list中得到所存的對象,并判斷該對象的類、取出其屬性和屬性值(7)
2.?請問:如何使用iReport設置excel的sheet name呢?(2)
3.?從JAR與zip檔案文件中提取Java 資源(2)
4.?關于ssh整合問題:Context initialization failed(2)
5.?Spring切換數據庫(1)
關于ssh整合問題:Context initialization failed
今天整合SSH,出現了這個問題Context initialization failed,很是郁悶。
ERROR [org.springframework.web.struts.ContextLoaderPlugIn]
-
Context initialization failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name
'
headsService
'
defined in ServletContext resource [
/
WEB
-
INF
/
classes
/
applicationContext
-
heads.xml]: Initialization of bean failed; nested exception is org.springframework.beans.InvalidPropertyException: Invalid property
'
hDao
'
of bean
class
[com.forestryInfo.biz.impl.HeadsBizImpl]: No property
'
hDao
'
found
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:
478
)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$
1
.run(AbstractAutowireCapableBeanFactory.java:
409
)
at java.security.AccessController.doPrivileged(Native Method)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:
380
)
at org.springframework.beans.factory.support.AbstractBeanFactory$
1
.getObject(AbstractBeanFactory.java:
264
)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:
220
)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:
261
)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:
185
)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:
164
)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:
429
)
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:
729
)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:
381
)
at org.springframework.web.struts.ContextLoaderPlugIn.createWebApplicationContext(ContextLoaderPlugIn.java:
354
)
at org.springframework.web.struts.ContextLoaderPlugIn.initWebApplicationContext(ContextLoaderPlugIn.java:
295
)
at org.springframework.web.struts.ContextLoaderPlugIn.init(ContextLoaderPlugIn.java:
225
)
at org.apache.struts.action.ActionServlet.initModulePlugIns(ActionServlet.java:
869
)
at org.apache.struts.action.ActionServlet.init(ActionServlet.java:
336
)
at javax.servlet.GenericServlet.init(GenericServlet.java:
212
)
at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:
1139
)
at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:
966
)
at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:
3956
)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:
4230
)
at org.apache.catalina.startup.HostConfig.checkResources(HostConfig.java:
1116
)
at org.apache.catalina.startup.HostConfig.check(HostConfig.java:
1214
)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:
293
)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:
120
)
at org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:
1306
)
at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:
1570
)
at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:
1579
)
at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:
1559
)
at java.lang.Thread.run(Thread.java:
619
)
Caused by: org.springframework.beans.InvalidPropertyException: Invalid property
'
hDao
'
of bean
class
[com.forestryInfo.biz.impl.HeadsBizImpl]: No property
'
hDao
'
found
at org.springframework.beans.BeanWrapperImpl.convertForProperty(BeanWrapperImpl.java:
382
)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.convertForProperty(AbstractAutowireCapableBeanFactory.java:
1287
)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:
1248
)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:
1008
)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:
470
)
這里主要提示:
Error creating bean with name
'
headsService
'
defined in ServletContext resource [
/
WEB
-
INF
/
classes
/
applicationContext
-
heads.xml]: Initialization of bean failed; nested exception is org.springframework.beans.InvalidPropertyException: Invalid property
'
hDao
'
of bean
class
我找了好久錯誤的原因,但都沒有找到。
后面,我干脆講“hDao”改為“dao”,整個程序就能運行起來了。
很是無奈,想了好久還是想不明白。
posted on 2009-05-29 16:50
旭日
閱讀(6522)
評論(2)
編輯
收藏
Comments
#
re: 關于ssh整合問題:Context initialization failed
kkiue521
我有和你一們的問題,現在已經讓我弄兩天了。還是不行,各種方法都試了,還是有上面那個錯誤。幫我一下啊。QQ:289468810
Posted @ 2009-06-25 17:11
回復
更多評論
#
re: 關于ssh整合問題:Context initialization failed
11111
這個問題 在我這被同事兩下搞定 我目前還不知道什么情況
Posted @ 2011-12-28 11:43
回復
更多評論
新用戶注冊
刷新評論列表
只有注冊用戶
登錄
后才能發表評論。
網站導航:
博客園
IT新聞
Chat2DB
C++博客
博問
管理
Powered by:
BlogJava
Copyright © 旭日
主站蜘蛛池模板:
石首市
|
华池县
|
封丘县
|
大化
|
元谋县
|
南宁市
|
东光县
|
三原县
|
德州市
|
洱源县
|
和田县
|
中阳县
|
阳江市
|
吉首市
|
潢川县
|
广元市
|
松滋市
|
永吉县
|
北辰区
|
仲巴县
|
阳山县
|
图们市
|
前郭尔
|
合山市
|
龙岩市
|
中牟县
|
神池县
|
潼关县
|
龙口市
|
奇台县
|
沙洋县
|
台中县
|
嘉善县
|
宕昌县
|
邳州市
|
株洲市
|
赤水市
|
盐池县
|
清苑县
|
安国市
|
南汇区
|