Expand my Community achievements bar.

Flex, Spring and Hibernate


Level 2
I am trying to deploy and application using Flex 2 beta 3,
Spring 1.2.7, Weblogic 9.1 and Hibernate 3 but it doesnt seem to
work. I tested my Java classes using JUnit and they work but the
problem is when i try to deploy it, it throws this error:

[RPC Fault
: Error creating bean with name 'ServiceData' defined in class path
resource [applicationContext.xml]: Cannot resolve reference to bean
'sessionFactory' while setting bean property 'sessionFactory';
nested exception is
org.springframework.beans.factory.BeanCreationException: Error
creating bean with name 'sessionFactory' defined in class path
resource [applicationContext.xml]: Initialization of bean failed;
nested exception is java.lang.NoSuchMethodError:
faultCode="Server.Processing" faultDetail="null"]

at mx.rpc::AbstractInvoker/

at mx.rpc::Responder/fault()

at mx.rpc::AsyncRequest/fault()


at mx.messaging::MessageResponder/status()

ServiceData is the name of the service that access the
database and SessionFactory is the Hibernate factory, the error
says that it cant find a method but all the necessary jars are in
the WEB-INF/lib folder and like i said before, it does run in JUnit
so it is not a matter of the jars (i believe).

Does anyone know what else do i need to do to make it work?
any extra configuration regarding Flex, Spring and Weblogic?

Hope someone can help me out
3 Replies


Level 1
Same here. I have spent 4 hours with this and I cannot
believe someone had the same error. In my case, the error is the
same but it began when I introduced an OpenSessionInViewFilter.
Same with you?.



Level 2
I am trying to show the content of a database table in a
DataGrid, i have a Remote Object that it is a Java class that
provides the access to my Service, the problem is that when this
class calls Spring in order to create the Hibernate Factory it
gives me that error.

Like i said i tried the same using Junit and it works, the
problem is when i try to deploy it, so i guess it has something to
do with weblogic or flex.


Level 1

I have build an example project using Flex and Spring (
Maybe it can help you solve your problem.

kind regards,