users@glassfish.java.net

JPA 2.0 MetaModel on GFV3

From: Paulo Reis <casmeiron_at_gmail.com>
Date: Mon, 26 Oct 2009 21:28:36 -0200

Hi guys,

I have this dependency on my pom.xml:

        <dependency>
            <groupId>javax</groupId>
            <artifactId>javaee-api</artifactId>
            <version>6.0-SNAPSHOT</version>
            <scope>provided</scope>
        </dependency>


And Iım playing with JPA 2.0 Metamodel but Iım not able to test it on
glassfish v3, I get the error that this class doesnıt exists:

 SEVERE: Error during deployment :
Ljavax/persistence/metamodel/SingularAttribute;
java.lang.NoClassDefFoundError:
Ljavax/persistence/metamodel/SingularAttribute;
    at java.lang.Class.getDeclaredFields0(Native Method)
    at java.lang.Class.privateGetDeclaredFields(Class.java:2291)
    at java.lang.Class.getDeclaredFields(Class.java:1743)
    at
org.jboss.webbeans.introspector.jlr.AnnotatedClassImpl.<init>(AnnotatedClass
Impl.java:127)

It is possible to test this feature out? Does the GF-V3 have this
implementation in any build?

Thanks.