maven打包Springboot项目报错,求大佬们解决

[INFO] Scanning for projects...
[ERROR] [ERROR] Some problems were encountered while processing the POMs:
[ERROR] 'dependencies.dependency.version' for org.springframework.boot:spring-boot-starter-redis:jar is missing. @ cn.testin:TestinStack:0.0.1-SNAPSHOT, E:\yunce\TestinStack\pom.xml, line 31, column 15
@
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]

[ERROR] The project cn.testin:TS.UnityPlatform:0.0.1-SNAPSHOT (E:\yunce\TestinStack\TS.UnityPlatform\pom.xml) has 1 error
[ERROR] 'dependencies.dependency.version' for org.springframework.boot:spring-boot-starter-redis:jar is missing. @ cn.testin:TestinStack:0.0.1-SNAPSHOT, E:\yunce\TestinStack\pom.xml, line 31, column 15
[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

2个回答

pom.xml中对应的行数jar不完整,缺少version

spring-boot-starter-redis你没写version

d007letian
007Detective 回复太阳怕黑:你确认下你的 cn.testin下面的TestinStack的version是0.0.1-SNAPSHOT吗
2 年多之前 回复
qq_36575059
太阳怕黑 The POM for cn.testin:TS.Core:jar:0.0.1-SNAPSHOT is missing, no dependency information available
2 年多之前 回复
qq_36575059
太阳怕黑 加version还是找不到:0.0.1-SNAPSHOT
2 年多之前 回复
Csdn user default icon
上传中...
上传图片
插入图片
抄袭、复制答案,以达到刷声望分或其他目的的行为,在CSDN问答是严格禁止的,一经发现立刻封号。是时候展现真正的技术了!
立即提问
相关内容推荐