Things to consider :
Have you include hibernate jar files (especially the required jars) in your lib
folder ?
antlr-2.7.7.jar
commons-collections-3.2.1.jar
dom4j-1.6.1.jar
javassist-3.12.1.GA.jar
hibernate-core-4.0.1.Final.jar
hibernate-commons-annotations-4.0.1.Final.jar
hibernate-jpa-2.0-api-1.0.1.Final.jar
jboss-logging-3.1.0.CR2.jar
jboss-transaction-api_1.1_spec-1.0.0.Final.jar
this file is from hibernate
you will download and it will have required
folder inside lib
.
If yes
:
Right click the import which contains error , and click Fix project
setup and missing jar files
will be automatically included.