Skip to content

JasperInitializer not loaded in Spring 6 App with webapp-runner 10.1.25 #507

@csaggo

Description

@csaggo

We could run a Maven-based Spring 6 Webapplication with embedded Tomcat 10.1.25 without issues.

When running it with webapp-runner 10.1.25 we have a an error when JSPs are beeing compiled. JSPFactory.getDefaultFactory() returns null. The default Factory is set in a static in JasperInitializer so when this class is loaded, the default Factory becomes available.

With embedded Tomcat in the IDE this happens when calling tomcat.start(). But it never happens with webapp-runner.

In webapp-runner 10.1.24 it works fine. I do not know if the cause lies in tomcat or webapp-runner 10.1.25

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions