java - Property 'punteggioMassimo' not found on type com.xxx.yyy.model.Questionario -
after debugged code , watched how object questionario made can see there no property punteggiomassimo, if declared on class.
//questionariobase.java public class questionariobase extends com.xxx.cms.classgenerator.basebean implements serializable { //some other properties protected integer punteggiomassimo; //some other getter , setter public integer getpunteggiomassimo() { return punteggiomassimo; } public void setpunteggiomassimo(integer punteggiomassimo) { this.punteggiomassimo = punteggiomassimo; } this class extended questionario.java has nothing in it.
public class questionario extends questionariobase implements serializable { } when object created in controller initializes properties besides punteggiomassimo. tried force initialization using setpunteggiomassimo in expression tab of eclipse, had no luck it!
here picture of expression tab: 
when object created in controller initializes properties besides punteggiomassimo.
this means me ide not taking account changes. if in eclipse, clean projects, clean install maven, maven update project, clean tomcat or whatever application server, , redeploy scratch. sure have latest version of class... if using else, try find out if class deployed, opening (unzipping) war (or jar) , checking if changes in there. if not, means there wrong build process...
Comments
Post a Comment