reset password
Author Message
afetiso
Posts: 84
Posted 20:46 Aug 17, 2015 |

I have error after I change:

    @ElementCollection
    @CollectionTable(name = "application_degrees",
        joinColumns = @JoinColumn(name = "application_id") )
    @OrderBy("year desc")
    private List<Degree> degrees; (from degree to degrees)

I have error:   

/WEB-INF/jsp/user/viewApp.jsp(25,1) '${app.degrees}' Property 'degrees' not found on type csjobs.model.Application

how I can fix it?

afetiso
Posts: 84
Posted 20:59 Aug 17, 2015 |

I fix it, I change the jsp code:

${app.degree}

but have in Application model:

private List<Degree> degrees;

cysun
Posts: 2935
Posted 21:47 Aug 17, 2015 |

You probably didn't change getter/setter, which is what defines a property.