apache / dubbo-spring-boot-project

Spring Boot Project for Apache Dubbo
https://dubbo.apache.org
Apache License 2.0
5.41k stars 1.88k forks source link

maven 编译不通过 #25

Closed JeffLi1993 closed 6 years ago

JeffLi1993 commented 6 years ago
[INFO] Dubbo Spring Boot Project .......................... SUCCESS [  0.407 s]
[INFO] Dubbo Spring Boot Parent ........................... SUCCESS [  3.832 s]
[INFO] Dubbo Spring Boot AutoConfigure .................... SUCCESS [ 15.664 s]
[INFO] Dubbo Spring Boot Actuator ......................... FAILURE [  3.914 s]
[INFO] Dubbo Spring Boot Starter .......................... FAILURE [  0.603 s]
[INFO] Dubbo Spring Boot Samples .......................... SUCCESS [  0.015 s]
[INFO] Dubbo Spring Boot Sample : API ..................... SUCCESS [  0.087 s]
[INFO] Dubbo Spring Boot Sample : Provider ................ FAILURE [  0.596 s]
[INFO] Dubbo Spring Boot Sample : Consumer ................ FAILURE [  0.017 s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 25.818 s
[INFO] Finished at: 2018-01-26T12:01:55+08:00
[INFO] Final Memory: 43M/287M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project dubbo-spring-boot-actuator: Could not resolve dependencies for project com.alibaba.boot:dubbo-spring-boot-actuator:jar:1.0.0-SNAPSHOT: Could not find artifact com.alibaba:dubbo-demo-api:jar:2.5.9 in central (https://repo.maven.apache.org/maven2) -> [Help 1]
[ERROR] Failed to execute goal on project dubbo-spring-boot-starter: Could not resolve dependencies for project com.alibaba.boot:dubbo-spring-boot-starter:jar:1.0.0-SNAPSHOT: Could not find artifact com.alibaba.boot:dubbo-spring-boot-actuator:jar:1.0.0-SNAPSHOT in spring-snapshot (http://repo.spring.io/snapshot) -> [Help 1]
[ERROR] Failed to execute goal on project dubbo-spring-boot-sample-provider: Could not resolve dependencies for project com.alibaba.boot:dubbo-spring-boot-sample-provider:jar:1.0.0-SNAPSHOT: The following artifacts could not be resolved: com.alibaba.boot:dubbo-spring-boot-starter:jar:1.0.0-SNAPSHOT, com.alibaba.boot:dubbo-spring-boot-actuator:jar:1.0.0-SNAPSHOT: Could not find artifact com.alibaba.boot:dubbo-spring-boot-starter:jar:1.0.0-SNAPSHOT in spring-snapshot (http://repo.spring.io/snapshot) -> [Help 1]
[ERROR] Failed to execute goal on project dubbo-spring-boot-sample-consumer: Could not resolve dependencies for project com.alibaba.boot:dubbo-spring-boot-sample-consumer:jar:1.0.0-SNAPSHOT: The following artifacts could not be resolved: com.alibaba.boot:dubbo-spring-boot-starter:jar:1.0.0-SNAPSHOT, com.alibaba.boot:dubbo-spring-boot-actuator:jar:1.0.0-SNAPSHOT: Failure to find com.alibaba.boot:dubbo-spring-boot-starter:jar:1.0.0-SNAPSHOT in http://repo.spring.io/snapshot was cached in the local repository, resolution will not be reattempted until the update interval of spring-snapshot has elapsed or updates are forced -> [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
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <goals> -rf :dubbo-spring-boot-actuator
mercyblitz commented 6 years ago

Now, works well.

wjczz commented 6 years ago

how to solve?