suztomo edited a comment on pull request #13073:
URL: https://github.com/apache/beam/pull/13073#issuecomment-723201549
@iemejia
> Can you spot which dependency is overwriting the version ?
BeamModulePlugin.groovy `force`s the library version listed in the file.
```
def log4j_version = "2.13.3"
...
log4j_core :
"org.apache.logging.log4j:log4j-core:$log4j_version",
...
config.resolutionStrategy {
...
def librariesWithVersion = project.library.java.values().findAll
{ it.split(':').size() > 2 }
force librariesWithVersion
}
```
log4j-api-2.4.1.jar has the missing class, while log4j-api-2.13.3.jar does
not have it.
```
suztomo-macbookpro44% jar tf log4j-api-2.4.1.jar |grep Reflection
org/apache/logging/log4j/util/ReflectionUtil$PrivateSecurityManager.class
org/apache/logging/log4j/util/ReflectionUtil.class
suztomo-macbookpro44% jar tf log4j-api-2.13.3.jar |grep Reflection
suztomo-macbookpro44%
```
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]