Getting runtime error:
"java.lang.NoClassDefFoundError: org/apache/beam/sdk/runners/PipelineRunner"
even though I have below in my pom.xml
<dependency>
<groupId>com.google.cloud.dataflow</groupId>
<artifactId>google-cloud-dataflow-java-sdk-all</artifactId>
<version>[2.1.0, 2.99)</version>
</dependency>
All compile time errors have been resolved after moving to 2.X, started getting runtime error.
mvn compile on this project also reports success. Just when I attempt to run the pipeline from eclipse get this error.
I added below to my
pom.xml
and deleted any all run profiles inpom.xml
and error was resolved.