I used org.reflections (latest):
new Reflections("my.package").getSubTypesOf(MyService.class);
It works well running in IntelliJ and returns all implementations of MyService.class
.
But running in a docker container, it returns an empty Set
.
(Anything else works well in the docker-container)
Any ideas? TIA!