Could not resolve substitution to a value: ${akka.stream.materializer}

Flink报错信息:Could not resolve substitution to a value: ${akka.stream.materializer}

flink报错截图

解决办法:

<transformer implementation="org.apache.maven.plugins.shade.resource.AppendingTransformer">
     <resource>reference.conf</resource>
</transformer>

pom.xml的如下地方:

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
<version>2.3</version>
<executions>
  <execution>
   <phase>package</phase>
   <goals>
    <goal>shade</goal>
   </goals>
   <configuration>
    <transformers>
     <transformer implementation="org.apache.maven.plugins.shade.resource.AppendingTransformer">
      <resource>reference.conf</resource>
     </transformer>
    </transformers>
   </configuration>
  </execution>
</executions>
</plugin>

 

正在加载评论...