kennknowles commented on PR #30425:
URL: https://github.com/apache/beam/pull/30425#issuecomment-2022870744

   > @Abacn @kennknowles It looks like it cannot find a dependency i added
   > 
   > i only added it this gradle file 
https://github.com/apache/beam/pull/30425/files#diff-c639d6f102d06d6d74d4d5c0d829d517ca720bf0b95708d10c86cbd4b847c65d
   > 
   > do i need to add it else where?
   
   Just to clarify: the library itself was successfully downloaded. Your 
dependency looks about right - but you should put it in the central list of 
dependencies in `BeamModulePlugin` like all the others, so we coordinate across 
modules.
   
    Common sources of this problem that I can think of:
   
   - Someone used a `provided` or `compileOnly` scope dependency somewhere in 
the transitive chain, so it didn't put the thing on the classpath right (not 
your fault, but needs to be solved by turning it into an `implementation` 
dependency
   - Another module depends on the same library but at an earlier version, so 
that particular class is not found because the earlier version got precedence 
(the rules for precedence are "closer to the root of the transitive dependency 
chain")


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to