dr_pompeii Posted March 28, 2007 Share Posted March 28, 2007 Hi guys i work with Spring/Hibernate i have this bean definition for the db connection/Hibernate Code: <bean id="sessionFactory" class="org.springframework.orm.hibernate3.LocalSessionFactoryBean"> <property name="dataSource"> <ref bean="dataSource"/> </property> <property name="mappingResources"> <list> <value>com/lagranjita/modelo/entidades/Empresa.hbm.xml</value> <value>com/lagranjita/modelo/entidades/Proveedor.hbm.xml</value> <value>com/lagranjita/modelo/entidades/CuentaProveedores.hbm.xml</value>.... more when i try to create a connection Spring loaled Hibenrate connection i have this valuesSpring ConfigurationapplicationContext-hibernate.xml,applicationContext-db.xml and the value for ID Bean is sessionFactory both context xml files are in the same folder and added its folder location to the classpath for ireport toolsame case for all jar files from the lib folder project from tomcatand the same case for the folder path where are located all the hbm.xml files for hibernate well when i text the connection i recieve this errorsee the image attached pls, how i can resolve this???thanks for advanced [file name=ERROR.png size=92568]http://www.jasperforge.org/components/com_joomlaboard/uploaded/files/ERROR.png[/file] Link to comment Share on other sites More sharing options...
dr_pompeii Posted March 31, 2007 Author Share Posted March 31, 2007 come on guys , help pls the application works, the problem here is with ireports or is there a link tutorial for this type of connection??? my boss want to kill me pls help, i am not a lazy boy thanks Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now