Win a copy of Testing JavaScript Applications this week in the HTML Pages with CSS and JavaScript forum!
  • 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 ...
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
  • Piet Souris
  • Frits Walraven
  • Carey Brown

running before I can crawl ( or how to add Spring to an existing Hibernate standalone app)

Ranch Hand
Posts: 141
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
So I'm trying to transmorgify a working standalone Java/Hibernate/MySQL app to use Spring.
I've got this far by cutting and pasting snippets from all over cyberspace and RTFMing a bit:



and StateDAO

and State

and finally my app

but the app barfs on the line indicated with the following stacktrace

so something's messed-up or incomplete with my configuration but I can't spot it (hmmm, time to RTM more).
In the meantime can someone tell me what I need to get this working?

As always, all tips/hints/constructive criticism/and especially examples are all welcome.


Still-learning Stuart
Stuart Rogers
Ranch Hand
Posts: 141
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
A hint received from someone in another forum led to the solution: here's the updated ApplicationContext.xml

Thanks for looking,

Still-learning Stuart>
He's my best friend. Not yours. Mine. You can have this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
    Bookmark Topic Watch Topic
  • New Topic