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

Problem with apache commons-cli #30

Open
tzimisce012 opened this issue Nov 8, 2017 · 3 comments
Open

Problem with apache commons-cli #30

tzimisce012 opened this issue Nov 8, 2017 · 3 comments

Comments

@tzimisce012
Copy link

I have multi-module project. When I try to use checkstyle in any of my submodules I am getting the following error:

java.lang.NoSuchMethodError: org.apache.commons.cli.Options.hasShortOption(Ljava/lang/String;)Z

Any idea?

@pelepelin
Copy link

This is most probably caused by conflict with another plugin. I've got this when used Swagger Codegen and this plugin in the same project.

I think this can be solved by adding a separate Configuration for every plugin.

@tzimisce012
Copy link
Author

tzimisce012 commented Jan 22, 2018

Yes, I am using swagger codegen in this project...

@remkop
Copy link

remkop commented Nov 8, 2018

Checkstyle 8.15 will use picocli instead of Apache Commons CLI, so that problem should go away.

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

3 participants