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:
: 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
creating bean with name 'sessionFactory' defined in class path
resource [applicationContext.xml]: Initialization of bean failed;
nested exception is java.lang.NoSuchMethodError:
http://www.adobe.com/2006/flex/mx/internal::faultHandler() at mx.rpc::Responder/fault()
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
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.