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: [email protected]

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

Reply via email to