Error “package javax.faces.bean does not exist” at import javax.faces.bean.ManagedBean

前端 未结 4 1377
-上瘾入骨i
-上瘾入骨i 2020-12-19 02:11

I am studying JSF from Oracle online tutorial. While building its example \"hello1\" on netbeans it gives the following error at the line import javax.faces.bean.Manag

4条回答
  •  无人及你
    2020-12-19 02:50

    You have to add javax.faces.api jar file to your project. You can find this library here.

    After downloading this file, you have to import that into your project and add it to your artifact.

提交回复
热议问题