Erro na hora do build, netbeans

0 respostas
java
B

Olá, estou desenvolvendo um projeto jsf com primefaces e jpa. Mas na hora que tento limpar e construir da o seguinte erro:

Note: Hibernate JPA 2 Static-Metamodel Generator 4.3.1.Final error: Bad service configuration file, or exception thrown while constructing Processor object: javax.annotation.processing.Processor: Provider org.eclipse.persistence.internal.jpa.modelgen.CanonicalModelProcessor could not be instantiated: java.lang.NoClassDefFoundError: org/eclipse/persistence/internal/sessions/AbstractSession /home/mhmf/Downloads/OS System/TCCWorking/nbproject/build-impl.xml:874: The following error occurred while executing this line: /home/mhmf/Downloads/OS System/TCCWorking/nbproject/build-impl.xml:296: Compile failed; see the compiler error output for details.

build-impl.xml:874
<webproject2:javac destdir="${build.classes.dir}" gensrcdir="${build.generated.sources.dir}"/>

build-impl.xml:296
<javac debug="@{debug}" deprecation="${javac.deprecation}" destdir="@{destdir}" encoding="${source.encoding}" excludes="@{excludes}" fork="${javac.fork}" includeantruntime="false" includes="@{includes}" source="${javac.source}" srcdir="@{srcdir}" target="${javac.target}">

Mas o projeto roda sem qualquer problema. Alguém já passou por isso ou possui uma solução ?
Desde já agradeço.

Criado 29 de abril de 2016
Respostas 0
Participantes 1