reflections icon indicating copy to clipboard operation
reflections copied to clipboard

something about org.reflections.util.ConfigurationBuilder#setInputsFilter

Open gyf1997 opened this issue 3 years ago • 3 comments

here is my maven dependency:

org.reflections reflections 0.10.2

here is my code:

ConfigurationBuilder cfg = ConfigurationBuilder.build(packages, Scanners.MethodsAnnotated); Reflections reflections = new Reflections(cfg); Set<Method> methods = reflections.getMethodsAnnotatedWith(MyAnnotation.class);

this code worked well when I run it in the gui of idea, but after I packaged it into a springboot application and run it using java -jar command, I got a null result. I solved this problem by cfg.setInputsFilter(null); But I still don't know why.

gyf1997 avatar Jun 10 '22 07:06 gyf1997

I have this problem too

zjn-zjn avatar Jul 01 '22 16:07 zjn-zjn

Me too

freedomskyx avatar Aug 04 '23 09:08 freedomskyx

这是来自QQ邮箱的自动回复邮件。   您好,我已经收到您的邮件

Terraqo avatar Aug 04 '23 09:08 Terraqo