Closed nikbucher closed 6 months ago
Vaadin Quarkus add-on is doing a programmatic lookup.
You have to mark your implementation as @Unremovable
, otherwise Quarkus will remove the bean because it considers it unused.
Here's a link to a related issue https://github.com/vaadin/quarkus/issues/147
Thanks a lot! It works now as expected
Hi,
I tried to add my specific
I18NProvider
implementation, but it doesn't work as expected. Even defining the I18n Provider Property doesn't help, even worse, a ClassNotFoundException is thrown.I've provided a sample here https://github.com/nikbucher/base-starter-flow-quarkus/tree/v24-i18n.
Interestingly, I discovered that when I inject the
I18NProvider
in e.g. theGreetService
or theMainView
then it works correctly, even I don't use the injectedI18nProvider
.Do I miss something? Thanks in advance.
Best regards - Nik