-
1. Re: Can't instantiate the class problem
ilya_shaikovsky May 14, 2010 2:49 AM (in response to lenyas66)attach file with complete server log.
-
2. Re: Can't instantiate the class problem
lenyas66 May 14, 2010 12:54 PM (in response to ilya_shaikovsky)I figured out what was the issue: it had nothing to do with this particular class, but rather with subclass, which had an error in XHTML file (referencing undefined variable).
I am curious though, why this would be an issue even before I attempted to load the screen, which had the problem? Does JSF try to instantiate all classes from faces-config.xml in advance?
-
3. Re: Can't instantiate the class problem
nbelaevski May 14, 2010 6:16 PM (in response to lenyas66)Hi Leonid,
I am curious though, why this would be an issue even before I attempted to load the screen, which had the problem? Does JSF try to instantiate all classes from faces-config.xml in advance?
According to the log, exception happens during view rendering:
handleRenderException
SEVERE: Error Rendering View[/piPublisher.xhtml]
javax.faces.FacesException
so there should be request for this view.