NetBeans 8.2 - Weblogic - Ant build

Viewed 328

When I try to build my Enterprise Project in Netbeans with ant, i got this exception:

warning: Supported source version 'RELEASE_6' from annotation processor 'org.eclipse.persistence.internal.jpa.modelgen.CanonicalModelProcessor' less than -source '1.8' Note: Creating static metadata factory ...

An annotation processor threw an uncaught exception. Consult the following stack trace for details. java.lang.ClassFormatError: Absent Code attribute in method that is not native or abstract in class file javax/persistence/PersistenceException

I only have some entityclasses in my ejb module.

2 Answers
Related