1 Reply Latest reply: Jul 9, 2013 10:33 PM by nhauge RSS

    NoClassDefFoundError when creating a JPA project with EclipseLink

    user13630631

      Hi,

           I've fallowed the JPA&Coherence tutorial from http://docs.oracle.com/cd/E18686_01/coh.37/e18692.pdf and I can not create a JPA project, I get the error below.

           I tried with most of the versions from EclipseLink and without coherence, it does not work

           Any ideea someone ?

      Tks,

      Marius

       

           An internal error occurred during: "JPA Facet File Change Event Handler".

      java.lang.NoClassDefFoundError: org/eclipse/persistence/jpa/jpql/AbstractJPQLQueryHelper

        at java.lang.ClassLoader.defineClass1(Native Method)

        at java.lang.ClassLoader.defineClass(Unknown Source)

        at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.defineClass(DefaultClassLoader.java:188)

        at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.defineClassHoldingLock(ClasspathManager.java:632)

        at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.defineClass(ClasspathManager.java:607)

        at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findClassImpl(ClasspathManager.java:568)

        at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClassImpl(ClasspathManager.java:492)

        at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass(ClasspathManager.java:465)

        at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.findLocalClass(DefaultClassLoader.java:216)

        at org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass(BundleLoader.java:395)

        at org.eclipse.osgi.internal.loader.SingleSourcePackage.loadClass(SingleSourcePackage.java:35)

        at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:461)

        at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:421)

        at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:412)

        at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:107)

        at java.lang.ClassLoader.loadClass(Unknown Source)

       

      eclipse.buildId=M20130131-0800

      java.version=1.7.0_25

      java.vendor=Oracle Corporation

      BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en_US

      Command-line arguments:  -os win32 -ws win32 -arch x86_64