| ClassNotFoundException on create of TypedQuery [message #646634] |
Wed, 29 December 2010 08:04  |
Christoph Keimel Messages: 277 Registered: December 2010 Location: Germany |
Senior Member |
|
|
Hello,
i hope someone can help me with the following problem. I am using EclipseLink in an RCP environment with the Target Platform set up accordingly. Creating an EntityManager works fine. (I've done some connection tests as well as persisting some simple data-objects.)
But, when I try to create a TypedQuery I get the following Exception:
java.lang.ClassNotFoundException: org.eclipse.persistence.internal.libraries.antlr.runtime.Parser
...
at org.eclipse.persistence.internal.jpa.EJBQueryImpl.buildEJBQLDatabaseQuery(EJBQueryImpl.java:207)
at org.eclipse.persistence.internal.jpa.EJBQueryImpl.buildEJBQLDatabaseQuery(EJBQueryImpl.java:182)
at org.eclipse.persistence.internal.jpa.EJBQueryImpl.<init>(EJBQueryImpl.java:134)
at org.eclipse.persistence.internal.jpa.EJBQueryImpl.<init>(EJBQueryImpl.java:118)
at org.eclipse.persistence.internal.jpa.EntityManagerImpl.createQuery(EntityManagerImpl.java:1371)
at org.eclipse.persistence.internal.jpa.EntityManagerImpl.createQuery(EntityManagerImpl.java:1393)
I figured this to be some kind of "missing-plugin" problem, but I can't find out what is missing and why ... it's driving me crazy!
Working on Win7 64bit, Eclipse Helios 3.6.1, EclipseLink 2.1.1.v20100817-r8050
Any help is greatly appreciated.
Regards,
Christoph
|
|
|