I am not able to Clean and Build my NetBeans java project. Output says:
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
Here:
.../nbproject/build-impl.xml:930: The following error occurred while executing this line: .../nbproject/build-impl.xml:270: Compile failed; see the compiler error output for details.
Lines from build-impl.xml:
Line 270 -
<javac debug="@{debug}" deprecation="${javac.deprecation}" destdir="@{destdir}" encoding="${source.encoding}" excludes="@{excludes}" fork="${javac.fork}" includeantruntime="false" includes="@{includes}" source="${javac.source}" sourcepath="@{sourcepath}" srcdir="@{srcdir}" target="${javac.target}" tempdir="${java.io.tmpdir}">
Line 930 -
<j2seproject3:javac gensrcdir="${build.generated.sources.dir}"/>
I am trying to find some help on forums, but i am so hopeless. Thank you for your help.