MagicDraw 9.5

Andromda 3.0

jboss 3.2.6 with defautDS configured



I have the following problem when i test a simple project :



java.lang.IllegalArgumentException: No SessionFactory specified

        org.springframework.util.Assert.notNull(Assert.java:91)

        
org.springframework.orm.hibernate.SessionFactoryUtils.getSession(SessionFactoryUtils.java:286)

        
org.springframework.orm.hibernate.SessionFactoryUtils.getSession(SessionFactoryUtils.java:196)

        
org.springframework.orm.hibernate.support.HibernateDaoSupport.getSession(HibernateDaoSupport.java:179)

        
fr.res29.era.Laboratoire.LaboratoireDaoBase.findAll(LaboratoireDaoBase.java:289)

        
fr.res29.era.Laboratoire.LaboratoireDaoBase.findAll(LaboratoireDaoBase.java:279)

        
fr.res29.era.Laboratoire.LaboratoireDaoBase.findAll(LaboratoireDaoBase.java:263)

        
fr.res29.era.Laboratoire.LaboratoireServiceImpl.handleGetAllLaboratoire(LaboratoireServiceImpl.java:22)

        
fr.res29.era.Laboratoire.LaboratoireServiceBase.getAllLaboratoire(LaboratoireServiceBase.java:45)

        sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

        
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

        
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

        java.lang.reflect.Method.invoke(Method.java:324)

        
org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:284)

        
org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:155)

        
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:122)

        
org.springframework.orm.hibernate.HibernateInterceptor.invoke(HibernateInterceptor.java:163)

....



I can't find the problem ...
_________________________________________________________
Reply to the post : http://galaxy.andromda.org/forum/viewtopic.php?p=431#431
Posting to http://forum.andromda.org/ is preferred over posting to the mailing 
list!


-------------------------------------------------------
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
_______________________________________________
Andromda-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/andromda-user

Reply via email to