Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
csaggo opened this issue Aug 21, 2024 · 0 comments
Open

Comments

@csaggo
Copy link

csaggo commented Aug 21, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant