当前位置: 首页 > 工具软件 > HK2 > 使用案例 >

docker建立springboot镜像时依赖错误WARNING: HK2 service reification failed for [org.glassfish.jersey.message.i

侯涵煦
2023-12-01

原文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

 类似资料: