I am trying to use Spring for dependency injection in a very simple tutorial application, and I keep running into this "CursorableLinkedList" error. The stack trace from the console follows.
The explanation from our instructor was something like "If you see the CursorableLinkedList error, you're outta luck."
Thanks in advance for any help you might be able to provide. Please let me know what additional information I can provide (config file contents, etc.).
Best,
Phil Hamlin / peh803
[1/18/07 9:46:11:370 EST] 7c4b8662 WebGroup E SRVE0026E: [Servlet Error]-[Error creating bean with name 'employeeService' defined in class path resource [properties/applicationCon
text.xml]:
Can't resolve reference to bean 'employeeDao' while setting property 'empDao'; nested exception is org.springframework.beans.
factory.Be
anCreation
Exception:
Error creating bean with name 'employeeDao' defined in class path resource [properties/applicationCon
text.xml]:
Can't resolve reference to bean 'sessionFactory' while setting property 'sessionFactory'&#
59; nested exception is org.springframework.beans.
factory.Be
anCreation
Exception:
Error creating bean with name 'sessionFactory' defined in class path resource [properties/applicationCon
text.xml]:
Initialization of bean failed; nested exception is java.lang.NoClassDefFoundE
rror: org/apache/commons/collect
ions/Curso
rableLinke
dList]: org.springframework.beans.
factory.Be
anCreation
Exception:
Error creating bean with name 'employeeService' defined in class path resource [properties/applicationCon
text.xml]:
Can't resolve reference to bean 'employeeDao' while setting property 'empDao'; nested exception is org.springframework.beans.
factory.Be
anCreation
Exception:
Error creating bean with name 'employeeDao' defined in class path resource [properties/applicationCon
text.xml]:
Can't resolve reference to bean 'sessionFactory' while setting property 'sessionFactory'; nested exception is org.springframework.beans.
factory.Be
anCreation
Exception:
Error creating bean with name 'sessionFactory' defined in class path resource [properties/applicationCon
text.xml]:
Initialization of bean failed; nested exception is java.lang.NoClassDefFoundE
rror: org/apache/commons/collect
ions/Curso
rableLinke
dList
org.springframework.beans.
factory.Be
anCreation
Exception:
Error creating bean with name 'employeeDao' defined in class path resource [properties/applicationCon
text.xml]:
Can't resolve reference to bean 'sessionFactory' while setting property 'sessionFactory'; nested exception is org.springframework.beans.
factory.Be
anCreation
Exception:
Error creating bean with name 'sessionFactory' defined in class path resource [properties/applicationCon
text.xml]:
Initialization of bean failed; nested exception is java.lang.NoClassDefFoundE
rror: org/apache/commons/collect
ions/Curso
rableLinke
dList
org.springframework.beans.
factory.Be
anCreation
Exception:
Error creating bean with name 'sessionFactory' defined in class path resource [properties/applicationCon
text.xml]:
Initialization of bean failed; nested exception is java.lang.NoClassDefFoundE
rror: org/apache/commons/collect
ions/Curso
rableLinke
dList
java.lang.NoClassDefFoundE
rror: org/apache/commons/collect
ions/Curso
rableLinke
dList
at org.apache.commons.pool.im
pl.Generic
ObjectPool
.<init>(Ge
nericObjec
tPool.java
:392)
at org.apache.commons.pool.im
pl.Generic
ObjectPool
.<init>(Ge
nericObjec
tPool.java
:258)
at org.apache.commons.dbcp.Ba
sicDataSou
rce.create
DataSource
(BasicData
Source.jav
a:795)
at org.apache.commons.dbcp.Ba
sicDataSou
rce.getCon
nection(Ba
sicDataSou
rce.java:5
40)
at org.springframework.orm.hi
bernate.Lo
calDataSou
rceConnect
ionProvide
r.getConne
ction(Loca
lDataSourc
eConnectio
nProvider.
java:76)
at net.sf.hibernate.cfg.Setti
ngsFactory
.buildSett
ings(Setti
ngsFactory
.java:73)
at net.sf.hibernate.cfg.Confi
guration.b
uildSettin
gs(Configu
ration.jav
a:1155)
at net.sf.hibernate.cfg.Confi
guration.b
uildSessio
nFactory(C
onfigurati
on.java:78
9)
at org.springframework.orm.hi
bernate.Lo
calSession
FactoryBea
n.newSessi
onFactory(
LocalSessi
onFactoryB
ean.java:5
43)
at org.springframework.orm.hi
bernate.Lo
calSession
FactoryBea
n.afterPro
pertiesSet
(LocalSess
ionFactory
Bean.java:
477)
at org.springframework.beans.
factory.su
pport.Abst
ractAutowi
reCapableB
eanFactory
.invokeIni
tMethods(A
bstractAut
owireCapab
leBeanFact
ory.java:1
058)
at org.springframework.beans.
factory.su
pport.Abst
ractAutowi
reCapableB
eanFactory
.createBea
n(Abstract
AutowireCa
pableBeanF
actory.jav
a:363)
at org.springframework.beans.
factory.su
pport.Abst
ractBeanFa
ctory.getB
ean(Abstra
ctBeanFact
ory.java:2
26)
at org.springframework.beans.
factory.su
pport.Abst
ractBeanFa
ctory.getB
ean(Abstra
ctBeanFact
ory.java:1
47)
at org.springframework.beans.
factory.su
pport.Bean
Definition
ValueResol
ver.resolv
eReference
(BeanDefin
itionValue
Resolver.j
ava:176)
at org.springframework.beans.
factory.su
pport.Bean
Definition
ValueResol
ver.resolv
eValueIfNe
cessary(Be
anDefiniti
onValueRes
olver.java
:105)
at org.springframework.beans.
factory.su
pport.Abst
ractAutowi
reCapableB
eanFactory
.applyProp
ertyValues
(AbstractA
utowireCap
ableBeanFa
ctory.java
:1012)
at org.springframework.beans.
factory.su
pport.Abst
ractAutowi
reCapableB
eanFactory
.populateB
ean(Abstra
ctAutowire
CapableBea
nFactory.j
ava:823)
at org.springframework.beans.
factory.su
pport.Abst
ractAutowi
reCapableB
eanFactory
.createBea
n(Abstract
AutowireCa
pableBeanF
actory.jav
a:345)
at org.springframework.beans.
factory.su
pport.Abst
ractBeanFa
ctory.getB
ean(Abstra
ctBeanFact
ory.java:2
26)
at org.springframework.beans.
factory.su
pport.Abst
ractBeanFa
ctory.getB
ean(Abstra
ctBeanFact
ory.java:1
47)
at org.springframework.beans.
factory.su
pport.Bean
Definition
ValueResol
ver.resolv
eReference
(BeanDefin
itionValue
Resolver.j
ava:176)
at org.springframework.beans.
factory.su
pport.Bean
Definition
ValueResol
ver.resolv
eValueIfNe
cessary(Be
anDefiniti
onValueRes
olver.java
:105)
at org.springframework.beans.
factory.su
pport.Abst
ractAutowi
reCapableB
eanFactory
.applyProp
ertyValues
(AbstractA
utowireCap
ableBeanFa
ctory.java
:1012)
at org.springframework.beans.
factory.su
pport.Abst
ractAutowi
reCapableB
eanFactory
.populateB
ean(Abstra
ctAutowire
CapableBea
nFactory.j
ava:823)
at org.springframework.beans.
factory.su
pport.Abst
ractAutowi
reCapableB
eanFactory
.createBea
n(Abstract
AutowireCa
pableBeanF
actory.jav
a:345)
at org.springframework.beans.
factory.su
pport.Abst
ractBeanFa
ctory.getB
ean(Abstra
ctBeanFact
ory.java:2
26)
at org.springframework.beans.
factory.su
pport.Abst
ractBeanFa
ctory.getB
ean(Abstra
ctBeanFact
ory.java:1
47)
at com.nationwide.valuedistri
bution.act
ion.Manage
EmployeeAc
tion.listE
mployees(M
anageEmplo
yeeAction.
java:52)
at sun.reflect.NativeMethodAc
cessorImpl
.invoke0(N
ative Method)
at sun.reflect.NativeMethodAc
cessorImpl
.invoke(Na
tiveMethod
AccessorIm
pl.java:85
)
at sun.reflect.NativeMethodAc
cessorImpl
.invoke(Na
tiveMethod
AccessorIm
pl.java:58
)
at sun.reflect.DelegatingMeth
odAccessor
Impl.invok
e(Delegati
ngMethodAc
cessorImpl
.java(Comp
iled Code))
at java.lang.reflect.Method.i
nvoke(Meth
od.java(Co
mpiled Code))
at org.apache.struts.actions.
DispatchAc
tion.dispa
tchMethod(
DispatchAc
tion.java:
280)
at org.apache.struts.actions.
DispatchAc
tion.execu
te(Dispatc
hAction.ja
va:216)
at org.apache.struts.action.R
equestProc
essor.proc
essActionP
erform(Req
uestProces
sor.java:4
84)
at org.apache.struts.action.R
equestProc
essor.proc
ess(Reques
tProcessor
.java:274)
at org.apache.struts.action.A
ctionServl
et.process
(ActionSer
vlet.java:
1482)
at org.apache.struts.action.A
ctionServl
et.doGet(A
ctionServl
et.java:50
7)
at javax.servlet.http.HttpSer
vlet.servi
ce(HttpSer
vlet.java:
740)
at javax.servlet.http.HttpSer
vlet.servi
ce(HttpSer
vlet.java:
853)
at com.ibm.ws.webcontainer.se
rvlet.Stri
ctServletI
nstance.do
Service(St
rictServle
tInstance.
java:110)
at com.ibm.ws.webcontainer.se
rvlet.Stri
ctLifecycl
eServlet._
service(St
rictLifecy
cleServlet
.java:174)
at com.ibm.ws.webcontainer.se
rvlet.Idle
ServletSta
te.service
(StrictLif
ecycleServ
let.java:3
13)
at com.ibm.ws.webcontainer.se
rvlet.Stri
ctLifecycl
eServlet.s
ervice(Str
ictLifecyc
leServlet.
java:116)
at com.ibm.ws.webcontainer.se
rvlet.Serv
letInstanc
e.service(
ServletIns
tance.java
:283)
at com.ibm.ws.webcontainer.se
rvlet.Vali
dServletRe
ferenceSta
te.dispatc
h(ValidSer
vletRefere
nceState.j
ava:42)
at com.ibm.ws.webcontainer.se
rvlet.Serv
letInstanc
eReference
.dispatch(
ServletIns
tanceRefer
ence.java:
40)
at com.ibm.ws.webcontainer.we
bapp.WebAp
pRequestDi
spatcher.h
andleWebAp
pDispatch(
WebAppRequ
estDispatc
her.java:1
019)
at com.ibm.ws.webcontainer.we
bapp.WebAp
pRequestDi
spatcher.d
ispatch(We
bAppReques
tDispatche
r.java:592
)
at com.ibm.ws.webcontainer.we
bapp.WebAp
pRequestDi
spatcher.f
orward(Web
AppRequest
Dispatcher
.java:204)
at com.ibm.ws.webcontainer.sr
t.WebAppIn
voker.doFo
rward(WebA
ppInvoker.
java:125)
at com.ibm.ws.webcontainer.sr
t.WebAppIn
voker.hand
leInvocati
onHook(Web
AppInvoker
.java:286)
at com.ibm.ws.webcontainer.ca
che.invoca
tion.Cache
dInvocatio
n.handleIn
vocation(C
achedInvoc
ation.java
:71)
at com.ibm.ws.webcontainer.sr
p.ServletR
equestProc
essor.disp
atchByURI(
ServletReq
uestProces
sor.java:1
82)
at com.ibm.ws.webcontainer.os
elistener.
OSEListene
rDispatche
r.service(
OSEListene
r.java:334
)
at com.ibm.ws.webcontainer.ht
tp.HttpCon
nection.ha
ndleReques
t(HttpConn
ection.jav
a:56)
at com.ibm.ws.http.HttpConnec
tion.readA
ndHandleRe
quest(Http
Connection
.java:615)
at com.ibm.ws.http.HttpConnec
tion.run(H
ttpConnect
ion.java:4
39)
at com.ibm.ws.util.ThreadPool
$Worker.ru
n(ThreadPo
ol.java:91
2)
Start Free Trial