EntityList « Update « JPA Q&A





1. java.lang.NoClassDefFoundError: javax/persistence/EntityList    forum.hibernate.org

Hi All, I have just started learning Hibernate. And following tutorial @ http://www.vaannila.com/hibernate/hiber ... ols-1.html . And have included following jars as user libraries in project:- antlr-2.7.6.jar,commons-collections-3.1.jar,dom4j-1.6.1.jar,hibernate3.jar,javassist-3.12.0.GA.jar,jta-1.1.jar,log4j-1.2.8.jar,mysql-connector-java-5.1.13-bin.jar,slf4j-api-1.6.1.jar,slf4j-simple-1.6.1.jar. But when I am running the Main program I am getting following error in console:- Code: 312 [main] INFO org.hibernate.annotations.common.Version - Hibernate Commons Annotations 3.2.0.Final 344 [main] INFO org.hibernate.cfg.Environment - Hibernate 3.6.0.CR2 344 [main] ...

2. java.lang.NoClassDefFoundError: javax/persistence/EntityList    forum.hibernate.org

Hy everyone, I have to do a project for my studies with hibernate. So I've just tried to create a little application to see if I can insert some values in my database. Here is my application tree : My ContactInsert.java : Code: package org.hibernate; import org.hibernate.tables.Contact; import org.hibernate.util.HibernateUtil; public class ContactInsert { /** ...