码迷,mamicode.com
首页 > 编程语言 > 详细

dubbo && spring-boot-starter

时间:2018-10-18 10:46:29      阅读:151      评论:0      收藏:0      [点我收藏+]

标签:spring   dem   amp   pre   style   nbsp   artifact   bsp   type   

 

project:

   https://github.com/apache/incubator-dubbo-spring-boot-project

 

1. usage

    <dependency>
            <groupId>com.alibaba.boot</groupId>
            <artifactId>dubbo-spring-boot-starter</artifactId>
            <version>0.2.0</version>
    </dependency>

 

2. main

changed

SpringApplication.run(DemoApplication.class, args);

--->

        new SpringApplicationBuilder(DemoApplication.class)
            .web(WebApplicationType.NONE)
            .run(args);

 

dubbo && spring-boot-starter

标签:spring   dem   amp   pre   style   nbsp   artifact   bsp   type   

原文地址:https://www.cnblogs.com/xiaobin-hlj80/p/9808099.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!