Gemini JPA for dummies? [message #1453916] |
Mon, 27 October 2014 17:58 |
|
I'm trying to get JPA to work in an OSGi project but I keep getting the following:
org.osgi.framework.BundleException: Could not resolve module: org.eclipse.gemini.jpa [18]
Unresolved requirement: Import-Package: javax.persistence; jpa="2.0"; version="1.1.0"
I've installed "Gemini JPA" and "Gemini DBAccess" from the update sites and I am using Apache Derby as the backend.
I've installed:
EclipseLink Target Components - EclipseLink JPA (2.6.0)
Dali Java Persistence Tools - JPA Support (3.4.0)
Equinox Target Components (3.4.0)
Gemini DBAccess for Derby (1.1.0.RELEASE)
Gemini JPA (1.1.0.RELEASE)
And even after "Add Required Bundles" I'm STILL getting errors regarding:
Import-Package: ... "javax.persistence;jpa="2.0";version="1.1.0" ...
I saw a 4 year old post about "patching gemini" but that surely can't still be the ONLY solution!?!?!?
If the OSGi support was removed from EclipseLink to Gemini JPA, then surely the developers of these 2 projects should be working closely with each other?
My experience with EclipseLink, OSGi JPA and Eclipse Gemini haven't exactly been instilling me with confidence :-/
How am I supposed to configure OSGi, Equinix AND Gemini JPA using the available online resources?
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03265 seconds