com.sun.jsftemplating.layout.SyntaxException: Handler 'setResourceBundle' in event 'initPage' is not declared! Ensure the '@Handler' annotation has been defined on the handler Java method, that it has been compiled with the annotation processing tool, and that the resulting 'META-INF/jsftemplating/Handler.map' is located in your classpath (you may need to do a clean build).

Oracle Community | amo2000 | 10 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    JavaServer Faces => Exception Errors

    Oracle Community | 10 years ago | amo2000
    com.sun.jsftemplating.layout.SyntaxException: Handler 'setResourceBundle' in event 'initPage' is not declared! Ensure the '@Handler' annotation has been defined on the handler Java method, that it has been compiled with the annotation processing tool, and that the resulting 'META-INF/jsftemplating/Handler.map' is located in your classpath (you may need to do a clean build).

    Root Cause Analysis

    1. com.sun.jsftemplating.layout.SyntaxException

      Handler 'setResourceBundle' in event 'initPage' is not declared! Ensure the '@Handler' annotation has been defined on the handler Java method, that it has been compiled with the annotation processing tool, and that the resulting 'META-INF/jsftemplating/Handler.map' is located in your classpath (you may need to do a clean build).

      at com.sun.jsftemplating.layout.template.TemplateReader$EventParserCommand.readHandler()
    2. com.sun.jsftemplating
      BaseProcessingContext.beginSpecial
      1. com.sun.jsftemplating.layout.template.TemplateReader$EventParserCommand.readHandler(TemplateReader.java:851)
      2. com.sun.jsftemplating.layout.template.TemplateReader$EventParserCommand.process(TemplateReader.java:793)
      3. com.sun.jsftemplating.layout.template.BaseProcessingContext.beginSpecial(BaseProcessingContext.java:106)
      3 frames