springboot引入jsp聚合项目,3个模块,父模块打pom包,子模块中->工具模块打jar包,另外一个模块是web模块打war包
工具模块打jar包没问题,但是那个web模块(就是启动类在的那个模块)打war包的时候报错:
(网上看得到的帖子都试了一次,还是不行)
[INFO] Scanning for projects...
[INFO]
[INFO] -----------------------< com.jt.1902:jt-manage >------------------------
[INFO] Building jt-manage 1.0-SNAPSHOT
[INFO] --------------------------------[ war ]---------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2.130 s
[INFO] Finished at: 2020-07-22T23:52:46+08:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project jt-manage: Could not resolve dependencies for project com.jt.1902:jt-manage:war:1.0-SNAPSHOT: Failed to collect dependencies at com.jt.1902:jt-common:jar:1.0-SNAPSHOT: Failed to read artifact descriptor for com.jt.1902:jt-common:jar:1.0-SNAPSHOT: Could not find artifact com.jt.1902:jt:pom:1.0-SNAPSHOT -> [Help 1]
[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/DependencyResolutionException