maven中出现 ‘dependencies.dependency.version‘ for xxxx:jar is missing
mvn clean后,出现下面的log
[INFO] Scanning for projects...
[ERROR] [ERROR] Some problems were encountered while processing the POMs:
[ERROR] 'dependencies.dependency.version' for org.slf4j:slf4j-nop:jar is missing. @ com.henry.flink:DataClean:[unknown-version], /home/appleyuchi/桌面/Flink_Code/flink清洗数据案例/FlinkProj/DataClean/pom.xml, line 57, column 21
@
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]
[ERROR] The project com.henry.flink:DataClean:1.0-SNAPSHOT (/home/appleyuchi/桌面/Flink_Code/flink清洗数据案例/FlinkProj/DataClean/pom.xml) has 1 error
[ERROR] 'dependencies.dependency.version' for org.slf4j:slf4j-nop:jar is missing. @ com.henry.flink:DataClean:[unknown-version], /home/appleyuchi/桌面/Flink_Code/flink清洗数据案例/FlinkProj/DataClean/pom.xml, line 57, 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
Process finished with exit code 1
原因:
这个原因是因为父pom中定义了子pom中的版本,
当删除 父pom中的内容时,就会导致子pom所在的工程执行mvn出现上述版本消失的报错。
maven中出现 ‘dependencies.dependency.version‘ for xxxx:jar is missing相关推荐
- Maven 父子工程出现 [ERROR] 'dependencies.dependency.version' for xxxjar is missing. 问题
问题原因是,子工程(Sub1)所继承的父工程(Main)也继承了它的父工程(Parent),需要在(Main)这个父工程中pom.xml配置中,增加 relativePath: <parent& ...
- 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 com.google.guava:guava:jar is missing.
编译时报错 : dependencies.dependency.version' for com.google.guava:guava:jar is missing. 具体如下 XYSZM00089: ...
- 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 ...
- [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打包提示dependencies.dependency.systemPath错误
Maven打包提示dependencies.dependency.systemPath错误 具体信息如下: Some problems were encountered while building ...
- Maven配置过程中出现:“‘dependencies.dependency.systemPath‘ for junit:junit:jar must be omitted...”的错误
项目场景: 在maven的配置过程中,发现在尝试下载依赖的时候,出现了些许bug. 问题描述 采用的是直接手动导入的方法.配置好阿里云镜像仓库后(该步没有出现问题),先把junit依赖下载放到&quo ...
- maven中的dependencies与dependencyManagement 对依赖管理的区别
1. dependencyManagement对所依赖jar包进行版本管理, 而dependencies中的jar直接加到项目中. 2. dependencies即使在子项目中不写该依赖项,那么子项目 ...
- Maven中如何配置WAR依赖WAR和JAR的多模块项目结构
2019独角兽企业重金招聘Python工程师标准>>> 先考虑如下实际情况: war项目C和war项目B都依赖war项目A和JAR项目X. 项目A中保存了B和C项目通用的web资源, ...
最新文章
- Leetcode 50. Pow(x, n)
- 奶牛异或(01字典树)
- 链表的基本操作(c++实现)
- Nature Microbiology:火眼金睛,肠道菌群绝对定量分析擒“真凶”!
- Lync2013 恢复-整残之后如何重新安装
- VMProtect 与 ASProtect 在VC中的SDK编程
- 计算机用户要以ADSL,2012年计算机一级MsOffice第三十三套练习题及答案解析
- Burt’s Bees 小蜜蜂纯天然杏仁牛奶蜂蜡护手霜,56g*2罐,$13.92
- js最简单数组去重_js简单数组去重
- 利用chrome的Timeline观测系统的内存回收逻辑
- javascript的对象创建模式---命名空间模式
- php可选缓存APC
- jpa执行sql脚本_JPA persistence.xml SQL脚本定义
- 都会五星回评,欢迎留下地址-博客之星
- Java 输出当前目录
- (推荐)(提供下载)ORACLE常见问题一千问(不怕学不成、就怕心不诚!)
- AS3.0中的显示编程(五)-- Loader(加载器)
- 【难点+重点BFS】LeetCode 126. Word Ladder II
- 查看前端页面请求的文件地址_前端性能优化方法
- opencv源码下载编译