|
|
|
![]() |
|
Strumenti |
![]() |
#1 |
Member
Iscritto dal: Jul 2008
Messaggi: 140
|
[JAVA] Problema con Glassfish ed Entity. Aiuto please!
Ciao,
sto programmando un'applicazione utilizzando java Enterprise. Per mappare i miei dati su database ho usato le cosiddette Entity. Dopo aver fatto il deploy e provato in parte la mia applicazione i dati sul database e le classi entity corrispondevano. Dopo ho voluto aggiungere ad una entità l'attributo foto con i relativi metodi get e set, però sul mio database la colonna foto non veniva creata. Per farla aggiungere al mio database ho dovuto annotare l'attributo foto con l'annotazione @Column. Adesso però ho il problema che il server non vede i metodi get e set e non so il perchè. Di seguito posto l'eccezione: org.apache.jasper.JasperException: PWC6033: Unable to compile class for JSP PWC6197: An error occurred at line: 37 in the jsp file: /VisualizzaTutteChitarre.jsp PWC6199: Generated servlet error: string:///VisualizzaTutteChitarre_jsp.java:100: cannot find symbol symbol : method getFoto() location: class ejb.Chitarra PWC6197: An error occurred at line: 37 in the jsp file: /VisualizzaTutteChitarre.jsp PWC6199: Generated servlet error: string:///VisualizzaTutteChitarre_jsp.java:100: cannot find symbol symbol : method getFoto() location: class ejb.Chitarra PWC6197: An error occurred at line: 67 in the jsp file: /VisualizzaTutteChitarre.jsp PWC6199: Generated servlet error: string:///VisualizzaTutteChitarre_jsp.java:118: cannot find symbol symbol : method getFoto() location: class ejb.Chitarra |
![]() |
![]() |
![]() |
Strumenti | |
|
|
Tutti gli orari sono GMT +1. Ora sono le: 13:19.