0 Replies Latest reply on Dec 2, 2009 12:28 AM by chaohua wang

    cannot access javax.faces.application.FacesMessage

    chaohua wang Newbie
      Hi Folks,

      I added  FacesMessages  in my code.

      import org.jboss.seam.faces.FacesMessages;


      FacesMessages.instance().add("added #{emailBean.name}");


      I am using jboss-seam.jar (2.10) in my lib. but When I compiled, could not get through..

      I got this error message:

      cannot access javax.faces.application.FacesMessage
          [javac] class file for javax.faces.application.FacesMessage not found
          [javac]            FacesMessages.instance().add("added #{emailBean.name}");


      I don't why asks javax.faces.application.FacesMessage. this is from myfaces.jar file.

      Please help, thank you very much.

      Chwang