java.lang.NoClassDefFoundError: org/apache/flink/api/common/functions/FlatMapFunction at
java.lang.Class.getDeclaredMethods0(Native Method) at
java.lang.Class.privateGetDeclaredMethods(Class.java:2701) at
java.lang.Class.privateGetMethodRecursive(Class.java:3048) at
java.lang.Class.getMethod0(Class.java:3018) at java.lang.Class.getMethod(Class.java:1784) at
sun.launcher.LauncherHelper.validateMainClass(LauncherHelper.java:544) at
sun.launcher.LauncherHelper.checkAndLoadMain(LauncherHelper.java:526)
错误截图如下:
解决方法 1.如下图,点击Edit Configurations,进入编辑框 2.如下图,将Include dependencies with "provided" scope勾选,点击确定即可
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)