openjpa-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jérôme <the_supe...@hotmail.com>
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"/>
        </fileset>

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

When I try to run it I got this error :

BUILD FAILED
C:\***\workspace\Dashboard2\enhance.xml:16: java.lang.NoClassDefFoundError:
org/apache/commons/lang/exception/NestableRuntimeException

On my line 16 i have this : <openjpac>

Thx in advance !




--
View this message in context: http://openjpa.208410.n2.nabble.com/JPA-Enhancement-with-Eclipse-and-Ant-Class-not-found-Exception-tp7405353p7582477.html
Sent from the OpenJPA Users mailing list archive at Nabble.com.

Mime
View raw message