I need some help, please. I get this error when trying to save some form data in my database using tapestry 5.3.6, hibernate 4.1.7.Final and Mysql 5.1.21 Actually the data is stored in the database, but I still have an error after clicking the submit button .
Error
[ERROR] ioc.Registry Error in calling the method public static org.apache.tapestry5.hibernate.HibernateSessionManager org.apache.tapestry5.hibernate.HibernateCoreModule.buildHibernateSessionManager (org.apache.tapestry5.hibernate.iource.iapap.nap. services.PerthreadManager): org.hibernate.SessionFactory.openSession () Lorg / hibernate / classic / Session; [ERROR] Operation ioc.Registry Operations: [ERROR] ioc.Registry [1] Trigger the action event at / Create: beaneditform.form [ERROR] ioc.Registry [2] Trigger the success event at / Create: beaneditform.form [ERROR] ioc.Registry [3] Executing the HibernateSessionManager service using org.apache.tapestry5.hibernate.HibernateCoreModule.buildHibernateSessionManager (HibernateSessionSource, PerthreadManager) (in HibernateRoreCORM ]RoreRoryCORE_ORAME_OREORAME_ORROR.ORORAME_OREORAME_OREORAME_OREOROR_OREOR_ORAME_OREOR_ORAME_OREOR_OREOR_OREOR_OREM_OREOR_OREOR_OREMO_OREOR_ORAME_OREOR_OREOR_ORAME_OREGOR_OREOR_OREMO_ORE_ORAME_OREOR_ORE Building a service implementation through org.apache.tapestry5.hibernate.HibernateCoreModule.buildHibernateSessionManager (HibernateSessionSource, PerthreadManager) (in HibernateCoreModule.java:96) [INFO] AppModule.TimingFilter Request time: 2872
pom.xml
I added the following dependencies to my pom.xml
<dependency> <groupId>mysql</groupId> <artifactId>mysql-connector-java</artifactId> <version>5.1.21</version> </dependency> <dependency> <groupId>org.hibernate</groupId> <artifactId>hibernate-core</artifactId> <version>4.1.7.Final</version> </dependency> <dependency> <groupId>org.hibernate</groupId> <artifactId>hibernate-annotations</artifactId> <version>3.5.6-Final</version> </dependency> <dependency> <groupId>org.hibernate</groupId> <artifactId>hibernate-c3p0</artifactId> <version>4.1.7.Final</version> </dependency> <dependency> <groupId>org.hibernate</groupId> <artifactId>hibernate-entitymanager</artifactId> <version>4.1.7.Final</version> </dependency>
I would be happy for any help. thanks
Will
source share