You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@beam.apache.org by "mohamedawnallah (via GitHub)" <gi...@apache.org> on 2024/10/25 18:32:35 UTC
Re: [PR] learning+website: add `FlattenWith` and `Tee` to Playground and Transform Catalog [WIP] [beam]
mohamedawnallah commented on PR #32945:
URL: https://github.com/apache/beam/pull/32945#issuecomment-2438557884
Hi @liferoad and @robertwb,
Is there a convenient way to resolve the following java dependency issues that I'm encountering? 🙏
I'm new to Java development and have recently worked with the `FlattenWith` feature introduced in Apache Beam `2.61.0`. However, the current katas learning Java code uses Apache Beam `2.38.0` ([link to the code](https://github.com/apache/beam/blob/3cc29099924f603e2094e1a246a9449b641dc761/learning/katas/java/build.gradle#L21)). To align the versions, I compiled a JAR file for Apache Beam Java core from source using `gradle build`. The following files were generated in `build/libs`:
```
beam-sdks-java-core-2.61.0-SNAPSHOT-tests-unshaded.jar
beam-sdks-java-core-2.61.0-SNAPSHOT-tests.jar
beam-sdks-java-core-2.61.0-SNAPSHOT-unshaded.jar
beam-sdks-java-core-2.61.0-SNAPSHOT.jar
```
Next, I copied `beam-sdks-java-core-2.61.0-SNAPSHOT-tests-unshaded.jar` into the katas learning Java modules in IntelliJ, and it recognized the `FlattenWith` operations. However, when I tried to run it, I encountered dependency issues, specifically:
```
Caused by: java.lang.ClassNotFoundException: org.apache.beam.vendor.guava.v32_1_2_jre.com.google.common.collect.SortedSetMultimap
```
I would greatly appreciate any help!
--
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: github-unsubscribe@beam.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org