java -jar错误信息如下:
Exception in thread "main" com.typesafe.config.ConfigException$UnresolvedSubstitution: reference.conf @ jar:file:flinkdemo-1.0-SNAPSHOT-jar-with-dependencies.jar!/reference.conf: 875: Could not resolve substitution to a value: ${akka.stream.materializer}
解决方法
pom.xml的maven-shade-plugin插件的executions->execution->configuration->transformers节点中增加
<transformer implementation="org.apache.maven.plugins.shade.resource.AppendingTransformer"> <resource>reference.conf</resource> </transformer>
标签:java,reference,flink,jar,conf,打包 From: https://www.cnblogs.com/felixzh/p/16859224.html