Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

something about org.reflections.util.ConfigurationBuilder#setInputsFilter #400

Open
gyf1997 opened this issue Jun 10, 2022 · 3 comments
Open

Comments

@gyf1997
Copy link

gyf1997 commented Jun 10, 2022

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 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.

@zjn-zjn
Copy link

zjn-zjn commented Jul 1, 2022

I have this problem too

@freedomskyx
Copy link

Me too

@potatoxf
Copy link

potatoxf commented Aug 4, 2023 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants