openjpa-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jérôme <>
Subject Re: JPA Enhancement with Eclipse and Ant: Class not found Exception
Date Tue, 08 Jan 2013 13:03:28 GMT
Hi vinbr88 and OpenJPA users ,

I know it has been a while since you post this but I have some questions !
Firstly thanks to letting us know how you solve your problem.

I'm trying to do the same as you and I got some problems and there is some
stuff that I don't understand (first time I play with ant)

            <pathelement location="build"/>
            <pathelement location="${basedir}/build/classes"/>

With this lines you specify where are your entities right ?
Why there is two pathelements ?

i'm using tomEE so all the lib like openjpa are there, do I still need to
copy the openjpa jar into the lib dir ?
In this line :

        <fileset dir="lib">
            <include name="**/*.jar"/>

Or there is a way to use the one in tomEE ?

When I try to run it I got this error :

C:\***\workspace\Dashboard2\enhance.xml:16: java.lang.NoClassDefFoundError:

On my line 16 i have this : <openjpac>

Thx in advance !

View this message in context:
Sent from the OpenJPA Users mailing list archive at

View raw message