zzwqqq opened a new pull request, #1210:
URL: https://github.com/apache/flink-agents/pull/1210
<!--
* Thank you very much for contributing to Flink Agents.
* Please add the relevant components in the PR title. E.g., [api],
[runtime], [java], [python], [hotfix], etc.
-->
<!-- Please link the PR to the relevant issue(s). Hotfix doesn't need this.
-->
Linked issue: #1209
### Purpose of change
<!-- What is the purpose of this change? -->
Running `WorkflowSingleAgentExample` in IDE fails with
`NoClassDefFoundError: org/apache/logging/log4j/core/Layout`.
The Log4j dependencies in `runtime` are declared as `provided`, so they are
not pulled in through `ide-support`.
This adds `log4j-slf4j-impl` to `ide-support`, which also pulls in
`log4j-api` and `log4j-core`. It uses the existing `${log4j2.version}`.
### Tests
<!-- How is this change verified? -->
- `./tools/build.sh -j` — passed.
- With the dependencies resolved from `ide-support`, logger initialization
failed before the fix and passed afterward.
### API
<!-- Does this change touches any public APIs? -->
No public API changes.
### Documentation
<!-- Do not remove this section. Check the proper box only. -->
- [ ] `doc-needed` <!-- Your PR changes impact docs -->
- [x] `doc-not-needed` <!-- Your PR changes do not impact docs -->
- [ ] `doc-included` <!-- Your PR already contains the necessary
documentation updates -->
### Was this patch authored or co-authored using generative AI tooling?
<!-- Do not remove this section. Check the proper box only. -->
- [x] Yes
- [ ] No
Generated-by: Codex CLI 0.156.1 (GPT-6)
--
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]