基于Dubbox的微服实战学习3——使用Dubbox+SpringBoot实现微服架构
0.问题
1.依赖环境介绍
2.运行原理介绍
3.环境搭建补充
4.基础服务模块介绍
5.提供者服务实现
6.消费者服务实现
0.问题
1.依赖环境介绍
2.运行原理介绍
3.环境搭建补充
4.基础服务模块介绍
5.提供者服务实现
6.消费者服务实现
7.抢购网设计介绍
0.问题
问题1.压缩包中的jar包,在部分公网环境下,无法使用maven以来直接获取
压缩包中的jar包,在部分公网环境下,无法使用maven以来直接获取。如出现此种情况,使用者可以将相关jar包,使用nexus直接上传至私服。还有一种解决方法。
jar包位置是:E:\spring-boot-starter-dubbo-1.0.0.jar
E:\>mvn install:install-file -Dfile=.\spring-boot-starter-dubbo-1.0.0.jar -Dgrou
pId=com.alibaba.hl -DartifactId=spring-boot-starter-dubbo -Dversion=1.0.0 -Dpack
ageing=jar
E:\
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Maven Stub Project (No POM) 1
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-install-plugin:2.4:install-file (default-cli) @ standalone-pom
---
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 0.952 s
[INFO] Finished at: 2018-06-08T15:22:33+08:00
[INFO] Final Memory: 8M/113M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-install-plugin:2.4
:install-file (default-cli) on project standalone-pom: The artifact information
is incomplete or not valid:
[ERROR] [0] 'packaging' is missing.
[ERROR]
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e swit
ch.
[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 rea
d the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoEx