I'm having problems using Maven. I have an Apache Flink project and want to run it on my server. Locally, it works fine, but on the server it fails with an error:
java.lang.NoClassDefFoundError: org/apache/flink/examples/java/ml/util/LinearRegressionData
In my Java project, I imported a class with
import org.apache.flink.examples.java.ml.util.LinearRegressionData;
And I used the correct class when importing:

After the build, I looked at the Jar file. The following classes were included:

The folder / util / is completely missing. My dependency section in the pom file is as follows:
<dependencies>
<dependency>
<groupId>org.apache.flink</groupId>
<artifactId>flink-java</artifactId>
<version>0.9.0</version>
</dependency>
<dependency>
<groupId>org.apache.flink</groupId>
<artifactId>flink-streaming-core</artifactId>
<version>0.9.0</version>
</dependency>
<dependency>
<groupId>org.apache.flink</groupId>
<artifactId>flink-clients</artifactId>
<version>0.9.0</version>
</dependency>
<dependency>
<groupId>org.apache.flink</groupId>
<artifactId>flink-table</artifactId>
<version>0.9.0</version>
</dependency>
<dependency>
<groupId>org.apache.flink</groupId>
<artifactId>flink-runtime</artifactId>
<version>0.9.0</version>
</dependency>
</dependencies>
When I saw the package organization in the repository located at https://github.com/apache/flink/tree/release-0.9 , I thought that it would be possible to add the following lines for the transition:
<dependency>
<groupId>org.apache.flink</groupId>
<artifactId>flink-examples</artifactId>
<version>0.9.0</version>
</dependency>
. Maven , , . , Maven . ?