maven带包报错;打包不了!

来源:2-3 Hello Spring Security

慕斯卡3405105

2018-05-25

执行maven打包的时候报这个错是什么原因;程序可以正常跑起来!就是打不了包

[INFO] Scanning for projects...

[ERROR] [ERROR] Some problems were encountered while processing the POMs:

[ERROR] Child module D:\stsworkspace\imooc-security\..\imooc.security-core of D:\stsworkspace\imooc-security\pom.xml does not exist @ 

 @ 

[ERROR] The build could not read 1 project -> [Help 1]

[ERROR]   

[ERROR]   The project com.imooc.security:imooc-security:1.0.0-SNAPSHOT (D:\stsworkspace\imooc-security\pom.xml) has 1 error

[ERROR]     Child module D:\stsworkspace\imooc-security\..\imooc.security-core of D:\stsworkspace\imooc-security\pom.xml does not exist

[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


写回答

2回答

花开北海

2018-05-30

这是打包时找不到子模块的 pom 文件,看一下 modules 是否配置//img.mukewang.com/szimg/5b0e55ff0001601b08140558.jpg


然后看一下子模块的 pom 文件parent是否写错:

//img.mukewang.com/szimg/5b0e56500001363d08200214.jpg

0
0

慕移动5007606

2018-05-28

Child module D:\stsworkspace\imooc-security\..\imooc.security-core of D:\stsworkspace\imooc-security\pom.xml does not exist @        

提示的是imooc.security-core的pom文件不存在 

0
0

Spring Security技术栈开发企业级认证与授权

Spring Security技术栈,REST风格开发常见接口,独立开发认证授权模块保证REST服务安全

2662 学习 · 1561 问题

查看课程