-
-
Notifications
You must be signed in to change notification settings - Fork 83
NoSuchMethodError after update to Woodstox 5.1.0 #46
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
Comments
I don't think it violates rules of SemVer: minor versions can introduce new functionality. And in case of Having said that, I could consider changing Woodstox to call deprecated method to improve inter-operability, with 5.1.1. Ability to work on earlier version would be a good thing, given that stax2 api itself has not significantly changed. |
Ahhh. Now I can see the problem wrt binary compatibility. That is... unfortunate. I think I will resolve this for Woodstox 5.2 by embedding helper class and avoiding dependency. |
@cowtowncoder I recently ran into this issue upgrading a large Spring Boot application to Java 11. In our case: Is it safe for me to just exclude the stax2-api 4.1 from jaxws to force things back to 3.1.4? |
Actually looking at that, it appears I will have both woodstox-core-asl 4.4.1 and woodstox-core 5.0.3 in my dependencies....ugh. Just looking for some guidance on the best way to set this up. I am thinking maybe the safest thing to do is to exclude the older stax2-api and woodstox-core-asl from the solrj dependency? |
Yeah the problem here is that due to name change, |
Thanks, I have gone with the newer version of woodstox-core and stax2-api. So far, so good! |
@tkvangorder Ok good luck! |
I added this and it started working for me.
|
Leena thank you so much, you have no idea of how much you helped me, thanks, thanks, thanks God bless you! |
|
Exclude older version ( |
Woodstox 5.1.0 introduces JAR conflicts due to linkage with newer StAX library. It seems that 5.1.0 cannot be used together with libraries that are dependent on stax2-api 3.1.4 (e.g. Apache Olingo).
This behaviour seems to violate the semantic versioning rules.
Reason is the different return type of
EmptyIterator.getInstance()
.The text was updated successfully, but these errors were encountered: