我是靠谱客的博主 壮观电灯胆,这篇文章主要介绍prestoDB windows 下idea 编译避坑,现在分享给大家,希望可以做个参考。

1、Failed to execute goal org.apache.maven.plugins:maven-dependency-plugin:3.1.1:analyze-only (default) on project presto-main: Dependency problems found -> [Help 1]

        解决方法:
              1、用mvn 命令分析依赖问题
     mvn dependency:analyze
     经过打印日志发现org.glassfish.jersey.core:jersey-common依赖问题,则在presto-main下的pom.xml里面build-》plugins-》标签下增加:

<plugin>
      <groupId>org.apache.maven.plugins</groupId>
      <artifactId>maven-dependency-plugin</artifactId>
      <configuration>
           <!-- TODO: Remove this once fixed -->
           <ignoredDependencies>
                <ignoredDependency>org.glassfish.jersey.core:jersey-common:jar</ignoredDependency>
           </ignoredDependencies>
      </configuration>
</plugin>

最后

以上就是壮观电灯胆最近收集整理的关于prestoDB windows 下idea 编译避坑的全部内容,更多相关prestoDB内容请搜索靠谱客的其他文章。

本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
点赞(117)

评论列表共有 0 条评论

立即
投稿
返回
顶部