jpa 2.0 - eclipse 4.3 EE facet jpa 2.0 build error -


i'm trying eclipse kepler 4.3 ee

after open on old workspace, project starts build error:

this project has jpa facet, no jpa project created. see error log more details. 

this details:

eclipse.buildid=4.3.0.i20130605-2000 java.version=1.7.0_21 java.vendor=oracle corporation bootloader constants: os=win32, arch=x86_64, ws=win32, nl=pt_br framework arguments:  -product org.eclipse.epp.package.jee.product command-line arguments:  -data d:\jjw\srcweb -os win32 -ws win32 -arch x86_64 -product org.eclipse.epp.package.jee.product  error mon aug 19 14:46:53 brt 2013 null jpa platform: p/jjwxp-web  java.lang.illegalargumentexception     @ org.eclipse.jpt.jpa.core.internal.internaljpaprojectmanager.buildjpaproject(internaljpaprojectmanager.java:643)     @ org.eclipse.jpt.jpa.core.internal.internaljpaprojectmanager.buildjpaproject(internaljpaprojectmanager.java:635)     @ org.eclipse.jpt.jpa.core.internal.internaljpaprojectmanager.buildjpaproject(internaljpaprojectmanager.java:628)     @ org.eclipse.jpt.jpa.core.internal.internaljpaprojectmanager.addjpaproject(internaljpaprojectmanager.java:609)     @ org.eclipse.jpt.jpa.core.internal.internaljpaprojectmanager.buildjpaproject_(internaljpaprojectmanager.java:312)     @ org.eclipse.jpt.jpa.core.internal.internaljpaprojectmanager$buildjpaprojectcommand.execute(internaljpaprojectmanager.java:306)     @ org.eclipse.jpt.common.core.internal.utility.command.commandjobcommandadapter.execute(commandjobcommandadapter.java:50)     @ org.eclipse.jpt.common.core.internal.utility.command.jobcommandjob.run(jobcommandjob.java:42)     @ org.eclipse.core.internal.jobs.worker.run(worker.java:53) 

project facet: jpa 2.0

persistence.xml

<?xml version="1.0" encoding="utf-8"?> <persistence version="2.0"     xmlns="http://java.sun.com/xml/ns/persistence" xmlns:xsi="http://www.w3.org/2001/xmlschema-instance"     xsi:schemalocation="http://java.sun.com/xml/ns/persistence http://java.sun.com/xml/ns/persistence/persistence_2_0.xsd">       <persistence-unit name="jjwxp-web-unit"         transaction-type="resource_local">          <provider>org.eclipse.persistence.jpa.persistenceprovider</provider>          <class>br.com.jjw.jjwxp.web.model.pais</class>         <class>br.com.jjw.jjwxp.web.model.estado</class>         <class>br.com.jjw.jjwxp.web.model.cidade</class>         <class>br.com.jjw.jjwxp.web.model.usuario</class>         <class>br.com.jjw.jjwxp.web.model.empresa</class>         <class>br.com.jjw.jjwxp.web.model.pessoa</class>         <class>br.com.jjw.jjwxp.web.model.pessoacliente</class>         <class>br.com.jjw.jjwxp.web.model.pessoarepresentante</class>         <class>br.com.jjw.jjwxp.web.model.pessoacontato</class>         <class>br.com.jjw.jjwxp.web.model.listaprecos</class>         <class>br.com.jjw.jjwxp.web.model.listaprecosrepresentante</class>         <class>br.com.jjw.jjwxp.web.model.listaprecoscoluna</class>         <class>br.com.jjw.jjwxp.web.model.listaprecositem</class>         <class>br.com.jjw.jjwxp.web.model.produto</class>         <class>br.com.jjw.jjwxp.web.model.produtograde</class>         <class>br.com.jjw.jjwxp.web.model.produtoestoque</class>         <class>br.com.jjw.jjwxp.web.model.produtocor</class>         <class>br.com.jjw.jjwxp.web.model.faixatamanho</class>         <class>br.com.jjw.jjwxp.web.model.grupoproduto</class>         <class>br.com.jjw.jjwxp.web.model.tamanho</class>         <class>br.com.jjw.jjwxp.web.model.cor</class>         <class>br.com.jjw.jjwxp.web.model.produtoimagem</class>         <class>br.com.jjw.jjwxp.web.model.produtocorimagem</class>         <class>br.com.jjw.jjwxp.web.model.pve</class>         <class>br.com.jjw.jjwxp.web.model.pveitem</class>         <class>br.com.jjw.jjwxp.web.model.pveitemgrade</class>         <class>br.com.jjw.jjwxp.web.model.condicaopagamento</class>         <class>br.com.jjw.jjwxp.web.model.modalidadevenda</class>         <class>br.com.jjw.jjwxp.web.model.moeda</class>         <class>br.com.jjw.jjwxp.web.model.classificacaofiscal</class>         <class>br.com.jjw.jjwxp.web.model.classificacaofiscalempresa</class>         <class>br.com.jjw.jjwxp.web.model.representanteproduto</class>         <class>br.com.jjw.jjwxp.web.model.modulosistema</class>           <shared-cache-mode>none</shared-cache-mode>          <properties>             <property name="eclipselink.ddl-generation" value="none" />             <property name="eclipselink.weaving" value="dynamic" />              <property name="eclipselink.logging.level" value="fine" />             <property name="eclipselink.logging.logger"                 value="org.eclipse.persistence.logging.commonsloggingsessionlog" />         </properties>      </persistence-unit>  </persistence> 

any ideas happening ?

if renamed project, , error happened after renaming (or svn downloading in different folder ) ..

the cause explained in eclipse eclipse bug 414688 (open) https://bugs.eclipse.org/bugs/show_bug.cgi?id=414688

and real source of problem in bug 414795 (fixed) https://bugs.eclipse.org/bugs/show_bug.cgi?id=414795

since second bug fixed in dec 2013, , verified in jan 2014, suppose next version of eclipse solve error.


Comments

Popular posts from this blog

Detect support for Shoutcast ICY MP3 without navigator.userAgent in Firefox? -

web - SVG not rendering properly in Firefox -

java - JavaFX 2 slider labelFormatter not being used -