-
Notifications
You must be signed in to change notification settings - Fork 531
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
deduplicate error while assembling project with swagger-parser dependency in it. #2126
Comments
It is worth to mention that it can also lead to unexpected behaviors - when application can use different files in different situation - depends which one will be first on classPath |
Thanks @philemone , good catch. Something we can look at fixing! |
frantuma
added a commit
that referenced
this issue
Nov 18, 2024
frantuma
added a commit
that referenced
this issue
Nov 18, 2024
frantuma
added a commit
that referenced
this issue
Nov 18, 2024
frantuma
added a commit
that referenced
this issue
Nov 18, 2024
frantuma
added a commit
that referenced
this issue
Nov 18, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi guys.
I've recently updated swagger-parser from
2.1.15
to2.1.22
and found out there is an error while trying to assembly project with swagger-parser dependency.To reproduce error all you have to do is create empty project (I've used empty scala project), add
swagger-parser
as dependency and try to assembly it (I've used sbt assembly). In swagger-parser library there are classes with the same name but somehow different - so it is not clear which class should be used.Same problem occurred with
2.1.21
, I didn't try with older versions.I've bypassed problem using
MergeStrategy
but it doesn't sound like a permanent solution.Cheers!
The text was updated successfully, but these errors were encountered: