Binding Redis service
nevenc opened this issue · 3 comments
nevenc commented
When binding Redis service to spring-music
app in Cloud Foundry, the app complains about dependencies not found at runtime:
Caused by: java.lang.ClassNotFoundException: org.apache.commons.pool2.impl.GenericObjectPoolConfig
nevenc commented
Need to add runtime dependency in build.gradle
:
runtime 'org.apache.commons:commons-pool2
scottfrederick commented
@nevenc This issue was fixed in Spring Cloud Connectors 2.0.2.RELEASE. Spring Music hasn't been updated to use that version yet, but that upgrade should fix your issue.
nevenc commented
Thanks Scott!