Win a copy of Micro Frontends in Action this week in the Server-Side JavaScript and NodeJS 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
  • Ron McLeod
  • Paul Clapham
  • Bear Bibeault
  • Junilu Lacar
  • Jeanne Boyarsky
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • salvin francis
  • Frits Walraven
  • Scott Selikoff
  • Piet Souris
  • Carey Brown

Convert type fail in Spring 3.1 and Hibernate 4.1.0

Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Good day everybody.

I am trying integrate spring 3.1 and hibernate 4.1.0 (newest) to develop demo website. But when i use AOP in sping transaction management i got some problems with it. I don't want to use Annotation in JSF bean to indicate there is repository or anything else. I just only want to config in Spring and not any more. Here is a part of my DAO and BO files:

File DAO interface:

File DAO impl:

File BO Impl:

File BO interface:

applicationContext file:

And finally my exception when trying use AOP in Spring:
Caused by: java.lang.IllegalStateException: Cannot convert value of type [$Proxy6 implementing,org.springframework.aop.SpringProxy,org.springframework.aop.framework.Advised] to required type [] for property 'loginDAO': no matching editors or conversion strategy found

I saw some tutorials on the internet and they config like me. I don't understand why it doesn't work. Can someone suggest me?

Thanks in advance and sorry for my bad English
I didn't do it. You can't prove it. Nobody saw me. The sheep are lying! This tiny ad is my witness!
Thread Boost feature
    Bookmark Topic Watch Topic
  • New Topic