com.sun.jsftemplating.layout.SyntaxException: Handler 'setResourceBundle' in event 'beforeCreate' 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 | suttridge_farm | 1 decade 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

    Problems controlling Glassfish v2 b31 from NetBeans 5.5.1 and Java 6/Win XP

    Oracle Community | 1 decade ago | suttridge_farm
    com.sun.jsftemplating.layout.SyntaxException: Handler 'setResourceBundle' in event 'beforeCreate' 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 'beforeCreate' 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
      TemplateReader$EventParserCommand.process
      1. com.sun.jsftemplating.layout.template.TemplateReader$EventParserCommand.readHandler(TemplateReader.java:842)
      2. com.sun.jsftemplating.layout.template.TemplateReader$EventParserCommand.process(TemplateReader.java:784)
      2 frames