jsf - How to import javax.faces library in Eclipse using JDK8? -


based on advice use jsf, following sample run in order learn more jsf , implement technique servlet. however, number of libraries unable imported:

package tobedefinedservlet;  import javax.faces.bean.managedbean;  @managedbean public class hello {      final string world = "hello world!";      public string getworld() {         return world;     } } 

javax.faces

the import javax.faces cannot resolved

managedbean

managedbean cannot resolved type

you have include jsf library example mojarra in classpath of application.


Comments

Popular posts from this blog

google api - Incomplete response from Gmail API threads.list -

Installing Android SQLite Asset Helper -

Qt Creator - Searching files with Locator including folder -