java проверка компонента не запускается: java .io.NotSerializableException: com.sun.el.ExpressionFactoryImpl - PullRequest
0 голосов
/ 02 апреля 2020

Я запускаю Jakarta Bean Validation 6.1.2 под Apache Flink и сталкиваюсь с включенной ошибкой «Причины: java .io.NotSerializableException: com.sun.el.ExpressionFactoryImpl».

Вот такие уроки:

  compile 'org.hibernate.validator:hibernate-validator:6.1.2.Final'
  compile 'org.glassfish:jakarta.el:3.0.3'
  compile 'org.apache.flink:flink-java:1.10.0'
  compile 'org.apache.flink:flink-streaming-java_2.12:1.10.0'
  compile 'org.apache.flink:flink-clients_2.12:1.10.0'
  compile 'org.apache.flink:flink-connector-kafka-base_2.12:1.10.0'
  compile 'org.apache.flink:flink-connector-kafka-0.10_2.12:1.10.0'

Мысли?

Спасибо заранее,

  • Джеймс
    org.apache.flink.api.common.InvalidProgramException: 
    com.sun.el.ExpressionFactoryImpl@7ca33c24 is not serializable. The object probably contains 
or references non serializable fields.
      at org.apache.flink.api.java.ClosureCleaner.clean(ClosureCleaner.java:151)
      at org.apache.flink.api.java.ClosureCleaner.clean(ClosureCleaner.java:126)
      at org.apache.flink.api.java.ClosureCleaner.clean(ClosureCleaner.java:126)
      at org.apache.flink.api.java.ClosureCleaner.clean(ClosureCleaner.java:126)
      at org.apache.flink.api.java.ClosureCleaner.clean(ClosureCleaner.java:126)
      at org.apache.flink.api.java.ClosureCleaner.clean(ClosureCleaner.java:71)
      at org.apache.flink.streaming.api.environment.StreamExecutionEnvironment.clean(StreamExecutionEnvironment.java:1821)
      at org.apache.flink.streaming.api.datastream.DataStream.clean(DataStream.java:188)
      at org.apache.flink.streaming.api.datastream.DataStream.map(DataStream.java:590)
      at com.lacuna.data.mds.EventProcessor.main(EventProcessor.java:49)
    Caused by: java.io.NotSerializableException: com.sun.el.ExpressionFactoryImpl
      at java.base/java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1185)
      at java.base/java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:349)
    WARNING: An illegal reflective access operation has occurred
Добро пожаловать на сайт PullRequest, где вы можете задавать вопросы и получать ответы от других членов сообщества.
...