Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/flink/shaded/jackson2/com/fasterxml/jackson/core/JsonParseException
    at org.apache.flink.runtime.webmonitor.WebMonitorEndpoint.initializeHandlers(WebMonitorEndpoint.java:212)
    at org.apache.flink.runtime.dispatcher.DispatcherRestEndpoint.initializeHandlers(DispatcherRestEndpoint.java:84)
    at org.apache.flink.runtime.rest.RestServerEndpoint.start(RestServerEndpoint.java:136)
    at org.apache.flink.runtime.minicluster.MiniCluster.start(MiniCluster.java:367)
    at org.apache.flink.streaming.api.environment.LocalStreamEnvironment.execute(LocalStreamEnvironment.java:120)
    at com.shanglin.kafka.test.Kafka010Example.main(Kafka010Example.java:96)
Caused by: java.lang.ClassNotFoundException: org.apache.flink.shaded.jackson2.com.fasterxml.jackson.core.JsonParseException
    at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
    ... 6 more

 

缺少jar包

但是添加包后还是报异常

 

Caused by: java.lang.ClassNotFoundException

 

启动就没事了

相关文章:

  • 2021-12-02
  • 2022-01-05
  • 2021-07-22
  • 2021-11-15
  • 2022-01-03
  • 2021-06-13
  • 2021-07-27
猜你喜欢
  • 2021-07-26
  • 2021-08-21
  • 2021-11-18
  • 2021-05-24
  • 2021-04-10
  • 2021-10-26
相关资源
相似解决方案