解决:dependencies.dependency.version' for com.google.guava:guava:jar is missing.
编译时报错 : dependencies.dependency.version' for com.google.guava:guava:jar is missing.
具体如下
XYSZM00089:presto-audit-plugin leonlai$ mvn clean package -Dmaven.test.skip=true
[INFO] Scanning for projects...
[ERROR] [ERROR] Some problems were encountered while processing the POMs:
[WARNING] 'dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: com.facebook.presto:presto-spi:jar -> version 0.224 vs 0.217 @ line 33, column 21
[WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-compiler-plugin is missing. @ line 56, column 21
[ERROR] 'dependencies.dependency.version' for com.google.guava:guava:jar is missing. @ line 12, column 21
@
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]
[ERROR] The project com.facebook.presto:presto-audit-plugin:0.224 (/Users/leonlai/data/data_dev/xy-presto/presto-plugins/presto-audit/presto-audit-plugin/pom.xml) has 1 error
[ERROR] 'dependencies.dependency.version' for com.google.guava:guava:jar is missing. @ line 12, column 21
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException
原因:没有指定com.google.guava版本
<dependency><groupId>com.google.guava</groupId><artifactId>guava</artifactId> </dependency>
解决:指定guava版本
<dependency><groupId>com.google.guava</groupId><artifactId>guava</artifactId><version>28.1-jre</version> </dependency>
解决:dependencies.dependency.version' for com.google.guava:guava:jar is missing.相关推荐
- dependencies.dependency.version' for org.apache.commons:commons-math3:jar is missing
完整报错如下: mvn clean scala:compile package [INFO] Scanning for projects... [ERROR] [ERROR] Some problem ...
- dependencies.dependency.version‘ for org.springframework.boot:spring-boot-starter-test:jar is missin
没有添加父工程 添加<parent>即可
- SpringBoot自定义starter时报错:Problems:dependencies.dependency.version‘ for com.zsm.starter:zsm-spring
Problems:dependencies.dependency.version' for com.zsm.starter:zsm-spring-boot-starter-autoconfigurej ...
- maven中出现 ‘dependencies.dependency.version‘ for xxxx:jar is missing
mvn clean后,出现下面的log [INFO] Scanning for projects... [ERROR] [ERROR] Some problems were encountered w ...
- Maven 父子工程出现 [ERROR] 'dependencies.dependency.version' for xxxjar is missing. 问题
问题原因是,子工程(Sub1)所继承的父工程(Main)也继承了它的父工程(Parent),需要在(Main)这个父工程中pom.xml配置中,增加 relativePath: <parent& ...
- [ERROR] ‘dependencies.dependency.version‘ for org.example:xxxxx-parent:jar is missing. @ line 20
前言 搭建maven父子工程时,出现报错: 错误信息如下: [ERROR] [ERROR] Some problems were encountered while processing the PO ...
- maven install时报错 dependencies.dependency.version' for cn.e3mall:e3-manager-pojo:jar is missing.
报错信息: 我的项目结构为: 在打包pojo时报错 原因是在本地仓库找不到e3-parent jar包 (当然联网时中央仓库也不找到我自己写的jar包) 解决方法:先将父工程 install 将其依赖 ...
- maven(3) parent用dependencyManagement控制版本没有传递给module的问题,dependencies.dependency.versionknown-version
不管是parent还是module使用mvn clan package install均报错 The project com.website:demo-security:0.0.1 (C:\data\ ...
- Maven打包提示dependencies.dependency.systemPath错误
Maven打包提示dependencies.dependency.systemPath错误 具体信息如下: Some problems were encountered while building ...
最新文章
- OpenCV学习笔记(六)(七)(八)(九)(十)
- 访百度奥运logo设计师李兴钢:虚实之间最美的呈现
- Flex 布局教程实例
- hrjava项目原型html_Mockplus for Mac(原型设计工具)
- 猛然回首 在这里4年了
- 数学建模学习笔记(七)——图论最短路问题
- 安装配置Exchange 问题集
- HDoj-1863-畅通project-并查集
- Valgrind动态分析工具
- Qt窗口部件——对话框QDialog
- react ui框架_Web开发 React 学习(二十)连载基础篇大结局
- MySQL有sqldependency_SqlDependency的局限性是什么
- html实现点击直接下载文件-前端教程
- 海康4200服务器进不去系统,ivms-4200客户端登入不了云服务器
- 造成错误“ORA-12547: TNS:lost contact”的常见原因有哪些?
- The IMAP server replied to the 'EXAMINE' command with a 'NO' response: EXAMINE Unsafe Login.
- 文献阅读笔记(2022.11.14)
- window.open()打开窗口的几种方式
- 支付宝不甘示弱!用派红包战略发力
- beyond Compare 4免费破解方法