Skip to content

views-jte: when dynamic == true, but fails to find source files, loading templates from classpath fails #511

@edward3h

Description

@edward3h

Expected Behavior

My jte files are in a separate submodule from my Micronaut application. Micronaut was configured with "micronaut.views.jte.dynamic: true"

Since the jte files are not in a location which matches the conventions JteViewsRenderer looks for, it should fall back to using the precompiled classes from the classpath.

Actual Behaviour

When I make a request, a log message says "Dynamic view path not found, using views from classpath.", however it is followed by "Unexpected error occurred: View [home] does not exist"

Steps To Reproduce

No response

Environment Information

No response

Example Application

No response

Version

3.8.6

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions