You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 9, 2025. It is now read-only.
When using the "restart" feature of Spring Boot DevTools, the generated bean for my @Storage class is not autowired.
To Reproduce
Generate a Spring Boot starter project including Spring Boot DevTools using start.spring.io
Add MicroStream Spring integration dependencies
Create a @Storage class and have it injected/autowired to something at startup
Launch the application with the added parameter -Dspring.devtools.restart.trigger-file=.restartTriggerFile (this is added by IntelliJ automatically if you set the run configuration's On 'Update' action: property to Hot swap classes and update trigger file if failed (this flag isn't needed, Spring always uses a RestartClassLoader when spring-boot-devtools is on the classpath)
Expected behavior
The bean should be resolved properly
Additional context
I suspect a class loading issue. I'm going to debug this on my own and I'll update with my findings or PR with a solution in an hour or two.