原文:https://www.blog.hiyj.cn/article/detail/108
jdk11
添加依赖可以解决<plugin>
<artifactId>dockerfile-maven-plugin</artifactId>
...
<dependencies>
<dependency>
<groupId>javax.activation</groupId>
<artifactId>activation</artifactId>
<version>1.1.1</version>
</dependency>
</dependencies>
...
</plugin>
GitHUb解决链接:https://github.com/spotify/dockerfile-maven/issues/90