I'm trying to use handlebars in es4x, but it's throwing the following error:
Failed in deploying verticle caused by TypeError: Access to host class io.vertx.ext.web.handler.APIKeyHandler is not allowed or does not exist.
This can be reproduced with the following code:
/// <reference types="@vertx/core" />
// @ts-check
import { Router, TemplateHandler } from '@vertx/web';
import * as hb from '@vertx/web-templ-handlebars';
const engine = hb.HandlebarsTemplateEngine.create(vertx);
console.log('started');
The same code (equivalent) works fine in Vert.x java
I'm trying to use handlebars in es4x, but it's throwing the following error:
Failed in deploying verticle caused by TypeError: Access to host class io.vertx.ext.web.handler.APIKeyHandler is not allowed or does not exist.This can be reproduced with the following code:
The same code (equivalent) works fine in Vert.x java