generator-jhipster: Mongobee fails due to guava method signature changed
Overview of the issue
Error creating bean with name ‘mongobee’, no such method iterator(). because com.google.guava dependency is on version 18 and method iterator does not exist.
Motivation for or Use Case
Suggest a Fix
Update dependency to 22
JHipster Version(s)
v4.6.2.
About this issue
- Original URL
- State: closed
- Created 7 years ago
- Comments: 16 (12 by maintainers)
no
I just ran
gradlew dependenciesand it showed guava is referenced 162 times in 7 different versions: 14.0.1, 15.0, 16.0, 16.0.1, 18.0, 19.0 and 20.0 !!! It reminds me of managing commons-logging dep many years ago. Fortunately, our code does not depend on it directly, so we’re not part of the problem 😉OK, I have reproduced the bug in 4.6.2
stack trace
I pinned version of guava to 18 as another method was removed in 19 and up. When I checked maven it resolved to 18 too. Can check it during the week again.