BenJFan commented on pull request #1432:
URL:
https://github.com/apache/incubator-seatunnel/pull/1432#issuecomment-1061350356
Has it been tested? The same code will report NPE in my environment.
Exception in thread "main" java.lang.BootstrapMethodError:
java.lang.NoClassDefFoundError:
org/apache/flink/connector/jdbc/utils/JdbcTypeUtil
at
org.apache.seatunnel.flink.sink.JdbcSink.outputBatch(JdbcSink.java:132)
at
org.apache.seatunnel.flink.batch.FlinkBatchExecution.start(FlinkBatchExecution.java:77)
at org.apache.seatunnel.Seatunnel.entryPoint(Seatunnel.java:107)
at org.apache.seatunnel.Seatunnel.run(Seatunnel.java:65)
at
org.apache.seatunnel.example.flink.LocalFlinkExample.main(LocalFlinkExample.java:32)
Caused by: java.lang.NoClassDefFoundError:
org/apache/flink/connector/jdbc/utils/JdbcTypeUtil
... 5 more
Caused by: java.lang.ClassNotFoundException:
org.apache.flink.connector.jdbc.utils.JdbcTypeUtil
at java.net.URLClassLoader.findClass(URLClassLoader.java:387)
at java.lang.ClassLoader.loadClass(ClassLoader.java:419)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:352)
at java.lang.ClassLoader.loadClass(ClassLoader.java:352)
... 5 more
--
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]