ClosedFileSystemException when including resources into a native compile #29452
Labels
in: core
Issues in core modules (aop, beans, core, context, expression)
status: duplicate
A duplicate of another issue
theme: aot
An issue related to Ahead-of-time processing
type: bug
A general bug
When trying out https://github.com/vaadin/hilla and https://github.com/vaadin/flow together with the native support in Spring Boot 3, I ran into an issue on startup:
The code in
VaadinServletContextInitializer.java:191
isand the exception it catches is
The
flow-server.jar
has resources incom/vaadin/flow/component
,com/vaadin/flow/router
andcom/vaadin/flow/server
and to make testing easier I includedin a
RuntimeHintsRegistrar
and this seems to trigger the problem. If I restrict the pattern tocom/vaadin/flow/server/*
then I do not see the problem. Probably because the mentioned classcom/vaadin/flow/router/AfterNavigationEvent.class
is not included as a resourceExample project at https://github.com/Artur-/hilla-native/tree/closedfilesystemexception
The text was updated successfully, but these errors were encountered: