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

double exclamation marks in haskell -

qml - Is it possible to implement SystemTrayIcon functionality in Qt Quick application -

Qt Creator - Searching files with Locator including folder -