Hi I also sent this problem down the spring user mailinglist.
I have been banging my head for the last 5 hours in regarding
the myfaces-spring integration.
The problem area is the Spring integrated AOP handling which refuses to work in conjunction with myfaces.


Maybe somebody has a clue:

I try to add automated transaction handling via AOP in my application
(with the spring callback classes it works already)
But I have major issues with the Spring JSF integration regarding AOP.

I run here into following problem:
a) I am using the hibernate transaction manager class, the class is instantiated
b) I am using a org.springframework.aop.framework.autoproxy.BeanNameAutoProxyCreator
as my referenced bean from the JSF pages


and I reference the pattern into my business/dao objects
(I dont use interfaces, I reference the classes)

Now I get the error that JSF runs into an BeanNameAutoProxyCreator object instead of an instantiated dao/business object and throws
me an error that the referenced accessor method does not exist.


Same happens also if I use a proxy factory bean and reference the dao/business object directly that way instead of using wildcards.


I am using the latest stable spring, myfaces, and the glue from: http://jsf-spring.sourceforge.net/

Does anybody know where the source of the problem is and how to get around this?

Werner



Reply via email to