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
import javax.faces.bean.Manag
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.