I'm having trouble creating a dynamic web project within eclipse to include eclipselink implementation.
When I ckeck the JPA
checkbox under the Project Facets
, choose EclipseLink 2.4.x
as Platform and select the library EclipseLink 2.4.0- Juno
that I have downloaded, I get an error:
The class 'org.hibernate.SessionFactory' is required to be in the selected libraries.
As I have no intention of using hibernate, I do not understand this...
If I choose to disable library configuration
, the project accepts it and it is up to me to include the needed libraries (EclipseLink) in the classpath of the project.
Nevertheless, I would like to understand why I can't use this JPA Facet tool to build my project with EclipseLink.
The Facets I'm using are Dynamic Web Module 3.0
, Java 1.7
and JPA 2.0
.
My eclipse is EE for Web Developers Juno 4.2
with WTP platfrorm
.
Thanks