heroku / heroku/webapp-runner

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

Open
#507 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
323
Forks
111
Avg merge
8h 41m
Merged PRs (30d)
17

Description

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

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.