Skip to content

Pebble template engine : Only io.jooby.MapModelAndView are supported #3624

@thomasguo

Description

@thomasguo

When I used the PebbleModule following the documenation. it throwed exeception and said:

io.jooby.ModelAndView$UnsupportedModelAndView: Only io.jooby.MapModelAndView are supported
at jars//io.jooby.pebble.PebbleTemplateEngine.render(PebbleTemplateEngine.java:50)
at jars//io.jooby.TemplateEngine.encode(TemplateEngine.java:46)
at jars//io.jooby.internal.HttpMessageEncoder.encode(HttpMessageEncoder.java:50)

Hope PebbleTemplateEngine could support ModelAndView too.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions