users@glassfish.java.net

Re: JPA 2.0 MetaModel on GFV3

From: Paulo Reis <casmeiron_at_gmail.com>
Date: Mon, 26 Oct 2009 22:44:32 -0200

Hi Ludovic,

Yes, u're right. I can compile my project, it fails only on deploy. I'm
using the follow version:
GlassFish v3 (build 47.4)


I'm goin' to test it on latest nightly build generated at October 22th.
Thanks.


On 10/26/09 9:59 PM, "Ludovic Champenois" <Ludovic.Champenois_at_Sun.COM>
wrote:

> Paulo Reis wrote:
>> 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:
> noclassdeffound does not mean the class does not exist.
> Can you compile your project with this dep? I guess so.
> But the error seems to be when you "deploy" since you have a deploy
> error. Do you deploy to the real GlassFish v3 runtime? I can see this
> class in the latest gf v3 promoted build. Which one are you using?
> Ludo
>>
>> 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>(AnnotatedClassI
>> mpl.java:127)
>>
>> It is possible to test this feature out? Does the GF-V3 have this
>> implementation in any build?
>>
>> Thanks.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>