i've seen another post regarding this problem, and tried to solve the problem with what was posted, but it did not resolve my problem, therefore i post it here.
as far as i can read from the log, EL finds my Classes and also resolves em.
[EL Config]: metadata: ServerSession(17737855)--The alias name for the entity class [class model.configadmin.Library] is being defaulted to: Library.
but later on the log tells me that Library is not a known entity type.
java.lang.IllegalArgumentException: Object: Library(Springfield Memorial Library, 2 books) is not a known entity type.
at org.eclipse.persistence.internal.sessions.UnitOfWorkImpl.registerNewObjectForPersist(UnitOfWorkImpl.java:4222)
at org.eclipse.persistence.internal.jpa.EntityManagerImpl.persist(EntityManagerImpl.java:496)
at client.LibraryClient.run(LibraryClient.java:25)
at client.Activator.addingService(Activator.java:35)
1) i tried running the app with and without VM arg -DREFRESH_BUNDLES=FALSE
2) dependencies do NOT include org.eclipse.persistence.jpa.equinox.weaving (though when i click add required plugins its added automatically!?)
3) selected start levels AND Autostart:
gemini.jpa.client 4 true
gemini.jpa.gen 4 true
gemini.jpa.pu 4 true
javax.persistence 2 true
org.eclipse.equinox.cm 2 true
org.eclipse.gemini.dbaccess.derby 2 true
org.eclipse.gemini.jpa 2 true
as the log is too long to post here i have a link to pastebin where you can look the log up.
thanks in advance
ludwig
SOLUTION:
in the example MANIFEST files only model.configadmin was imported
thats what i did too, which resolved to the error described above.
i then tried to add required plug-in (.pu) and removed the imported packagege model configadmin.
and whohoo its working...
[Updated on: Wed, 03 July 2013 09:39]
Report message to a moderator