• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Spring configuration error

 
Ranch Hand
Posts: 595
6
jQuery Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
I am learning spring from the sratch. I am following Spring in Action. I am stuck at the first example itself. Here are the classes:





and this is the configuration what I am using.



but when i run, this is what i am getting as error:



What is wrong here? the error is not clear to me.
 
Rancher
Posts: 2759
32
Eclipse IDE Spring Tomcat Server
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
How are you running the application? Which JVM are you using? Which version of Spring?

I tried looking up what line of code is at DefaultListableBeanFactory.java:107. I can;t be sure unless I know exact version of Srping. However, looking at the code around that line, it could be that the classloader is null.. which would be odd. It could be some problem with your installation of Java or the way you are running Java
 
s ravi chandran
Ranch Hand
Posts: 595
6
jQuery Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Jayesh A Lalwani wrote:How are you running the application? Which JVM are you using? Which version of Spring?

I tried looking up what line of code is at DefaultListableBeanFactory.java:107. I can;t be sure unless I know exact version of Srping. However, looking at the code around that line, it could be that the classloader is null.. which would be odd. It could be some problem with your installation of Java or the way you are running Java



Thanks for reply. I am using java 1.6.0_31 and spring version is: 3.2.5. I am running the code in eclipse.
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic