Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » EclipseLink » ClassNotFoundException on create of TypedQuery (Missing class "org.eclipse.persistence.internal.libraries.antlr.runtime.Parser")
ClassNotFoundException on create of TypedQuery [message #646634] Wed, 29 December 2010 08:04 Go to previous message
Christoph Keimel is currently offline 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
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic:References to subclass implemented as FK to superclass
Next Topic:problems using metamodel generator in Eclipse
Goto Forum:
  


Current Time: Sat May 18 11:29:26 EDT 2013

Powered by FUDForum. Page generated in 0.01691 seconds