JSF bean from database not shown

前端 未结 1 1576
逝去的感伤
逝去的感伤 2021-01-27 19:34

I have the following bean:

import java.util.List;
import javax.faces.bean.RequestScoped;
import javax.annotations.ManagedBean;
import javax.persistence.EntityMan         


        
相关标签:
1条回答
  • 2021-01-27 20:20

    using java 8, eclipse luna, tomcat 8 and mojarra 2.2.7; after importing @ManagedBean from javax.faces.bean.ManagedBean instead of javax.annotations.ManagedBean, it works just fine.

    0 讨论(0)
提交回复
热议问题