Results 1 to 4 of 4

Thread: Dynamic Proxy Problem

Threaded View

  1. #1
    Join Date
    Oct 2007
    Posts
    4

    Default Dynamic Proxy Problem

    Hi all

    I have a proxy problem which is driving me nuts, and hope someone can help resolve it.

    I have a data access object which is dynamically proxied and contains several other wired beans.

    I need one of these other beans to also be proxied, so that I can apply an advice. The trouble is when I proxy the contained bean I get the following exception

    Code:
    Caused by: org.springframework.beans.factory.BeanCurrentlyInCreationException: Error creating bean with name 'routerDAO': org.springframework.bea
    ns.factory.FactoryBeanNotInitializedException: Cannot determine target class for proxy
    I've tried setting the target class's proxyTargetClass value to true, but I get the same problem.

    Any help would be much appreciated.

    Many thanks
    Nick
    Last edited by wagdey; May 28th, 2008 at 06:06 AM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •