Failed to execute goal on project sky-server: Could not resolve dependencies for project
D:\IDEA\JDK\bin\java.exe -Dmaven.multiModuleProjectDirectory=D:\IDEA\IdeaWorkSpace\sky-take-out\sky-server "-Dmaven.home=D:\IDEA\IntelliJ IDEA 2022.2.3\plugins\maven\lib\maven3" "-Dclassworlds.conf=D:\IDEA\IntelliJ IDEA 2022.2.3\plugins\maven\lib\maven3\bin\m2.conf" "-Dmaven.ext.class.path=D:\IDEA\IntelliJ IDEA 2022.2.3\plugins\maven\lib\maven-event-listener.jar" "-javaagent:D:\IDEA\IntelliJ IDEA 2022.2.3\lib\idea_rt.jar=58209:D:\IDEA\IntelliJ IDEA 2022.2.3\bin" -Dfile.encoding=UTF-8 -Dsun.stdout.encoding=UTF-8 -Dsun.stderr.encoding=UTF-8 -classpath "D:\IDEA\IntelliJ IDEA 2022.2.3\plugins\maven\lib\maven3\boot\plexus-classworlds-2.6.0.jar;D:\IDEA\IntelliJ IDEA 2022.2.3\plugins\maven\lib\maven3\boot\plexus-classworlds.license" org.codehaus.classworlds.Launcher -Didea.version=2022.2.3 compile
[INFO] Scanning for projects...
[INFO]
[INFO] -------------------------< com.sky:sky-server >-------------------------
[INFO] Building sky-server 1.0-SNAPSHOT
[INFO] --------------------------------[ jar ]---------------------------------
[WARNING] The POM for com.sky:sky-common:jar:1.0-SNAPSHOT is missing, no dependency information available
[WARNING] The POM for com.sky:sky-pojo:jar:1.0-SNAPSHOT is missing, no dependency information available
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1.343 s
[INFO] Finished at: 2024-04-17T16:21:07+08:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project sky-server: Could not resolve dependencies for project com.sky:sky-server:jar:1.0-SNAPSHOT: The following artifacts could not be resolved: com.sky:sky-common:jar:1.0-SNAPSHOT, com.sky:sky-pojo:jar:1.0-SNAPSHOT: Could not find artifact com.sky:sky-common:jar: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/DependencyResolutionExceptionProcess finished with exit code 1
解决方法:在父工程中先clean,后install
更多推荐
所有评论(0)