Hi friends, pls can somebody help me. i have this tutorial i am trying to follow (How to create a java ee6 application with jsf 2, EJB 3.1, and Netbeans 7.0.1. After creating the last jsp page i tried to deploy and encountered these errors:
Created dir: C:\CustomerApp\CustomerApp\CustomerApp-ejb\build\classes
Copying 3 files to C:\CustomerApp\CustomerApp\CustomerApp-ejb\build\classes\META-INF
Created dir: C:\CustomerApp\CustomerApp\CustomerApp-ejb\build\empty
Created dir: C:\CustomerApp\CustomerApp\CustomerApp-ejb\build\generated-sources\ap-source-output
Compiling 4 source files to C:\CustomerApp\CustomerApp\CustomerApp-ejb\build\classes


An annotation processor threw an uncaught exception.
Consult the following stack trace for details.
java.lang.RuntimeException: javax.annotation.processing.FilerException: Attempt to recreate a file for type com.CustomerApp.entity.DiscountCode_
at org.eclipse.persistence.internal.jpa.modelgen.Cano nicalModelProcessor.process(CanonicalModelProcesso r.java:407)
at com.sun.tools.javac.processing.JavacProcessingEnvi ronment.callProcessor(JavacProcessingEnvironment.j ava:793)
at com.sun.tools.javac.processing.JavacProcessingEnvi ronment.discoverAndRunProcs(JavacProcessingEnviron ment.java:722)
at com.sun.tools.javac.processing.JavacProcessingEnvi ronment.access$1700(JavacProcessingEnvironment.jav a:97)
at com.sun.tools.javac.processing.JavacProcessingEnvi ronment$Round.run(JavacProcessingEnvironment.java: 1029)
at com.sun.tools.javac.processing.JavacProcessingEnvi ronment.doProcessing(JavacProcessingEnvironment.ja va:1163)
at com.sun.tools.javac.main.JavaCompiler.processAnnot ations(JavaCompiler.java:1106)
at com.sun.tools.javac.main.JavaCompiler.compile(Java Compiler.java:824)
at com.sun.tools.javac.main.Main.compile(Main.java:41 7)
at com.sun.tools.javac.main.Main.compile(Main.java:33 1)
at com.sun.tools.javac.main.Main.compile(Main.java:32 2)
at com.sun.tools.javac.Main.compile(Main.java:76)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Native MethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at org.apache.tools.ant.taskdefs.compilers.Javac13.ex ecute(Javac13.java:56)
at org.apache.tools.ant.taskdefs.Javac.compile(Javac. java:1134)
at org.apache.tools.ant.taskdefs.Javac.execute(Javac. java:912)
at org.netbeans.modules.java.source.ant.JavacTask.exe cute(JavacTask.java:144)
at org.apache.tools.ant.UnknownElement.execute(Unknow nElement.java:291)
at sun.reflect.GeneratedMethodAccessor66.invoke(Unkno wn Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at org.apache.tools.ant.dispatch.DispatchUtils.execut e(DispatchUtils.java:106)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.taskdefs.Sequential.execute(S equential.java:68)
at org.apache.tools.ant.UnknownElement.execute(Unknow nElement.java:291)
at sun.reflect.GeneratedMethodAccessor66.invoke(Unkno wn Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at org.apache.tools.ant.dispatch.DispatchUtils.execut e(DispatchUtils.java:106)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.taskdefs.MacroInstance.execut e(MacroInstance.java:398)
at org.apache.tools.ant.UnknownElement.execute(Unknow nElement.java:291)
at sun.reflect.GeneratedMethodAccessor66.invoke(Unkno wn Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at org.apache.tools.ant.dispatch.DispatchUtils.execut e(DispatchUtils.java:106)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.Target.execute(Target.java:39 0)
at org.apache.tools.ant.Target.performTasks(Target.ja va:411)
at org.apache.tools.ant.Project.executeSortedTargets( Project.java:1399)
at org.apache.tools.ant.helper.SingleCheckExecutor.ex ecuteTargets(SingleCheckExecutor.java:38)
at org.apache.tools.ant.Project.executeTargets(Projec t.java:1251)
at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java :442)
at org.apache.tools.ant.UnknownElement.execute(Unknow nElement.java:291)
at sun.reflect.GeneratedMethodAccessor66.invoke(Unkno wn Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at org.apache.tools.ant.dispatch.DispatchUtils.execut e(DispatchUtils.java:106)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.Target.execute(Target.java:39 0)
at org.apache.tools.ant.Target.performTasks(Target.ja va:411)
at org.apache.tools.ant.Project.executeSortedTargets( Project.java:1399)
at org.apache.tools.ant.Project.executeTarget(Project .java:1368)
at org.apache.tools.ant.helper.DefaultExecutor.execut eTargets(DefaultExecutor.java:41)
at org.apache.tools.ant.Project.executeTargets(Projec t.java:1251)
at org.apache.tools.ant.module.bridge.impl.BridgeImpl .run(BridgeImpl.java:284)
at org.apache.tools.ant.module.run.TargetExecutor.run (TargetExecutor.java:539)
at org.netbeans.core.execution.RunClassThread.run(Run ClassThread.java:153)
Caused by: javax.annotation.processing.FilerException: Attempt to recreate a file for type com.CustomerApp.entity.DiscountCode_
at com.sun.tools.javac.processing.JavacFiler.checkNam eAndExistence(JavacFiler.java:507)
at com.sun.tools.javac.processing.JavacFiler.createSo urceOrClassFile(JavacFiler.java:396)
at com.sun.tools.javac.processing.JavacFiler.createSo urceFile(JavacFiler.java:378)
at org.eclipse.persistence.internal.jpa.modelgen.Cano nicalModelProcessor.generateCanonicalModelClass(Ca nonicalModelProcessor.java:98)
at org.eclipse.persistence.internal.jpa.modelgen.Cano nicalModelProcessor.generateCanonicalModelClasses( CanonicalModelProcessor.java:226)
at org.eclipse.persistence.internal.jpa.modelgen.Cano nicalModelProcessor.process(CanonicalModelProcesso r.java:403)
... 60 more
C:\CustomerApp\CustomerApp\nbproject\build-impl.xml:185: The following error occurred while executing this line:
C:\CustomerApp\CustomerApp\CustomerApp-ejb\nbproject\build-impl.xml:492: The following error occurred while executing this line:
C:\CustomerApp\CustomerApp\CustomerApp-ejb\nbproject\build-impl.xml:209: Compile failed; see the compiler error output for details.
BUILD FAILED (total time: 4 seconds)
i am using glassfishv3 server, primefaces, javadb and netbeans7.0.1.
i will really appreciate. if problem is solved. thanks