You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried to run the chapter 1 main function in IntelliJ, and got this error. Not sure how to debug it.
But I can find the function in the dependency folder.
Jdk: 1.8
The full error log.
"/Applications/IntelliJ IDEA.app/Contents/jbr/Contents/Home/bin/java" "-javaagent:/Applications/IntelliJ IDEA.app/Contents/lib/idea_rt.jar=54296:/Applications/IntelliJ IDEA.app/Contents/bin" -Dfile.encoding=UTF-8 -classpath /Users/xiangl/flink-learn/examples-java/target/classes:/Users/xiangl/.m2/repository/org/slf4j/slf4j-api/1.7.15/slf4j-api-1.7.15.jar:/Users/xiangl/.m2/repository/org/apache/flink/force-shading/1.7.1/force-shading-1.7.1.jar:/Users/xiangl/.m2/repository/org/apache/flink/flink-shaded-guava/18.0-5.0/flink-shaded-guava-18.0-5.0.jar:/Users/xiangl/.m2/repository/org/apache/flink/flink-shaded-netty/4.1.24.Final-5.0/flink-shaded-netty-4.1.24.Final-5.0.jar:/Users/xiangl/.m2/repository/org/apache/flink/flink-queryable-state-runtime_2.12/1.7.1/flink-queryable-state-runtime_2.12-1.7.1.jar:/Users/xiangl/.m2/repository/org/apache/flink/flink-queryable-state-client-java_2.12/1.7.1/flink-queryable-state-client-java_2.12-1.7.1.jar:/Users/xiangl/.m2/repository/org/slf4j/slf4j-log4j12/1.7.25/slf4j-log4j12-1.7.25.jar:/Users/xiangl/.m2/repository/log4j/log4j/1.2.17/log4j-1.2.17.jar io.github.streamingwithflink.chapter1.AverageSensorReadings
Error: Unable to initialize main class io.github.streamingwithflink.chapter1.AverageSensorReadings
Caused by: java.lang.NoClassDefFoundError: org/apache/flink/streaming/api/functions/source/SourceFunction
The text was updated successfully, but these errors were encountered:
I tried to run the chapter 1 main function in IntelliJ, and got this error. Not sure how to debug it.
But I can find the function in the dependency folder.
Jdk: 1.8
The full error log.
The text was updated successfully, but these errors were encountered: