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
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded 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