• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Knute Snortum
  • Bear Bibeault
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • Piet Souris
  • Ganesh Patekar
Bartenders:
  • Frits Walraven
  • Carey Brown
  • Tim Holloway

Bean Initialization fails... Why?

 
Ranch Hand
Posts: 64
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dear Sirs et Madames,
am new to Spring unfortunately and have just added a bean locationVO to my application context. However, When deployed and I start up Tomcat 6, I get an exception:



My applicationContext.xml looks like so (relevant beans only):



LocationVO looks thus:



Please help... What does the error message mean? google did not seem to be helpful ...
Thanks in advance

 
Ranch Hand
Posts: 80
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

In "locationVO" you have properties as follows:



while in the config - file you have configured locationVO bean as follows:


I don't see any property with the name of locationCrudImpl which you are referring to.
 
Phoenix Kilimba
Ranch Hand
Posts: 64
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sorry the clas LocationVO DOES have that property, I was just a little careless when copy and pasting... its like so:

 
Author
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Are you using autowire by name?
 
Phoenix Kilimba
Ranch Hand
Posts: 64
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi David,
Well am a bit new to Spring, and it is not my code, its code I have inherited, where would I check if the code IS using autowire by name? and What are the implications if it is?
 
Ranch Hand
Posts: 471
Mac OS X Hibernate Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
can you please post the full stack trace
 
Phoenix Kilimba
Ranch Hand
Posts: 64
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The full stack trace is like so:



Thanks again
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!