ciao a tutti, sto realizzando una semplice webapplication in NetBeans, ma oggi non compila più, e non so a cosa sia dovuto.
Innanzitutto mi dava un errore sull'import di javax.servlet, allora ho aggiunto alle libraries il file servlet-api.jar che ho trovato nella cartella di installazione di JBoss, ora non mi segna più errori, ma quando provo a compilare
codice:
Building jar: C:\Users\marco\Documents\NetBeansProjects\Entity\dist\Entity.jar
dist-ear:
init:
deps-module-jar:
deps-ear-jar:
init:
deps-jar:
compile:
library-inclusion-in-manifest:
Building jar: C:\Users\marco\Documents\NetBeansProjects\Entity\dist\Entity.jar
dist-ear:
deps-jar:
library-inclusion-in-archive:
library-inclusion-in-manifest:
Copying 1 file to C:\Users\marco\Documents\NetBeansProjects\NE\build
Compiling 9 source files to C:\Users\marco\Documents\NetBeansProjects\WebApplication1\build\web\WEB-INF\classes

C:\Users\marco\Documents\NetBeansProjects\Entity\dist\Entity.jar(Entities/Users.class): warning: Cannot find annotation method 'name()' in type 'javax.persistence.Table': class file for javax.persistence.Table not found
C:\Users\marco\Documents\NetBeansProjects\Entity\dist\Entity.jar(Entities/Users.class): warning: Cannot find annotation method 'strategy()' in type 'javax.persistence.GeneratedValue': class file for javax.persistence.GeneratedValue not found
An exception has occurred in the compiler (1.6.0_14). Please file a bug at the Java Developer Connection (http://java.sun.com/webapps/bugreport)  after checking the Bug Parade for duplicates. Include your program and the following diagnostic in your report.  Thank you.
com.sun.tools.javac.code.Symbol$CompletionFailure: class file for javax.persistence.GenerationType not found
C:\Users\marco\Documents\NetBeansProjects\NE\nbproject\build-impl.xml:137: The following error occurred while executing this line:
C:\Users\marco\Documents\NetBeansProjects\WebApplication1\nbproject\build-impl.xml:389: The following error occurred while executing this line:
C:\Users\marco\Documents\NetBeansProjects\WebApplication1\nbproject\build-impl.xml:211: Compile failed; see the compiler error output for details.
BUILD FAILED (total time: 0 seconds)
E non capisco bene qual'è il problema: ci sono dei metodi non trovati in Entity.jar? Non mi è molto chiaro l'errore, qualcuno a colpo d'occhio vede il problema? Sono un novizio quindi abbiate pietà se è un errore grossolano
grazie