[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
[eclipselink-users] Problem with Weaving
|
Anybody knows that:
/home/halves/desenv/optmize/equipamento/teste.xml:14: Exception
[EclipseLink-40007] (Eclipse Persistence Services - 1.0.1 (Build
20080905)): org.eclipse.persistence.exceptions.StaticWeaveException
Exception Description: An exception was thrown while weaving:
/home/halves/desenv/optmize/equipamento/src/java/br/gov/mct/equipamento/jpa
Internal Exception: Exception [EclipseLink-30004] (Eclipse Persistence
Services - 1.0.1 (Build 20080905)):
org.eclipse.persistence.exceptions.PersistenceUnitLoadingException
Exception Description: An exception was thrown while processing
persistence.xml from URL:
file:/home/halves/desenv/optmize/equipamento/src/conf/
Internal Exception: java.net.MalformedURLException
<?xml version="1.0" encoding="UTF-8"?>
<project name="equipamento" default="all" basedir=".">
<target name="define.task" description="New task definition for toplink static weaving">
<taskdef name="weave" classname="org.eclipse.persistence.tools.weaving.jpa.StaticWeaveAntTask">
<classpath path="/home/halves/desenv/eclipselink-1.0.1/eclipselink/jlib/eclipselink.jar" />
</taskdef>
</target>
<target name="weaving" description="perform weaving" depends="define.task">
<weave source="${basedir}/src/java/br/gov/mct/equipamento/jpa"
target="${basedir}/web/WEB-INF/lib/woven.jar"
persistenceinfo="${basedir}/src/conf">
</weave>
</target>
</project>