3 Replies Latest reply on May 14, 2010 6:16 PM by Nick Belaevski

    Can't instantiate the class problem

    Leonid Sokolin Newbie

      I created a new class, which has very simple structure, but somehow JSF is throwing "cant instantiate exception", when I try to access it.

       

      18:03:07,781 FATAL [application] JSF1001: Managedbean piPublisherBean could not be created.

      18:03:07,781 ERROR [STDERR] May 13, 2010 6:03:07 PM com.sun.facelets.FaceletViewHandler

      handleRenderException

      SEVERE: Error Rendering View[/piPublisher.xhtml]

      javax.faces.FacesException

       

      : javax.faces.FacesException: Cant instantiate class: com.nb.pi.web.beans.PIPublisherBean.. com.nb.pi.web.beans.PIPublisherBean

       

      Could somebody advise why it is happening? I think, I may have some really simple error, but can't see the cause.