资源简介

springboot和dubbo整合,注册中心使用zookeeper。另外,单机版和集群版都测试通过

资源截图

代码片段和文件信息

package com.elon;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;

@SpringBootApplication
//不需要自动配置数据源的时候加上
@EnableAutoConfiguration(exclude = {DataSourceAutoConfiguration.class})
public class SpringbootDubboConsumerApplication {

    public static void main(String[] args) {
        SpringApplication.run(SpringbootDubboConsumerApplication.class args);
    }
}

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2018-05-17 16:25  springboot-dubbo\
     目录           0  2018-05-17 16:25  springboot-dubbo\.idea\
     文件         975  2018-05-17 16:16  springboot-dubbo\.idea\compiler.xml
     文件         553  2018-05-17 16:16  springboot-dubbo\.idea\encodings.xml
     目录           0  2018-05-17 16:30  springboot-dubbo\.idea\inspectionProfiles\
     目录           0  2018-05-17 16:16  springboot-dubbo\.idea\libraries\
     文件         575  2018-05-17 16:12  springboot-dubbo\.idea\libraries\Maven__ch_qos_logback_logback_classic_1_1_11.xml
     文件         554  2018-05-17 16:12  springboot-dubbo\.idea\libraries\Maven__ch_qos_logback_logback_core_1_1_11.xml
     文件         489  2018-05-17 16:12  springboot-dubbo\.idea\libraries\Maven__com_101tec_zkclient_0_7.xml
     文件         486  2018-05-17 16:12  springboot-dubbo\.idea\libraries\Maven__com_alibaba_dubbo_2_5_3.xml
     文件         514  2018-05-17 16:16  springboot-dubbo\.idea\libraries\Maven__com_alibaba_fastjson_1_2_47.xml
     文件         522  2018-05-17 16:12  springboot-dubbo\.idea\libraries\Maven__com_fasterxml_classmate_1_3_4.xml
     文件         644  2018-05-17 16:12  springboot-dubbo\.idea\libraries\Maven__com_fasterxml_jackson_core_jackson_annotations_2_8_0.xml
     文件         602  2018-05-17 16:12  springboot-dubbo\.idea\libraries\Maven__com_fasterxml_jackson_core_jackson_core_2_8_11.xml
     文件         644  2018-05-17 16:12  springboot-dubbo\.idea\libraries\Maven__com_fasterxml_jackson_core_jackson_databind_2_8_11_1.xml
     文件         546  2018-05-17 16:12  springboot-dubbo\.idea\libraries\Maven__com_jayway_jsonpath_json_path_2_2_0.xml
     文件         700  2018-05-17 16:12  springboot-dubbo\.idea\libraries\Maven__com_vaadin_external_google_android_json_0_0_20131108_vaadin1.xml
     文件         658  2018-05-17 16:12  springboot-dubbo\.idea\libraries\Maven__io_dubbo_springboot_spring_boot_starter_dubbo_1_0_0.xml
     文件         516  2018-05-17 16:12  springboot-dubbo\.idea\libraries\Maven__io_netty_netty_3_7_0_Final.xml
     文件         611  2018-05-17 16:12  springboot-dubbo\.idea\libraries\Maven__javax_validation_validation_api_1_1_0_Final.xml
     文件         469  2018-05-17 16:12  springboot-dubbo\.idea\libraries\Maven__jline_jline_0_9_94.xml
     文件         455  2018-05-17 16:15  springboot-dubbo\.idea\libraries\Maven__junit_junit_4_11.xml
     文件         455  2018-05-17 16:12  springboot-dubbo\.idea\libraries\Maven__junit_junit_4_12.xml
     文件         574  2018-05-17 16:12  springboot-dubbo\.idea\libraries\Maven__mysql_mysql_connector_java_5_1_46.xml
     文件         542  2018-05-17 16:12  springboot-dubbo\.idea\libraries\Maven__net_minidev_accessors_smart_1_1.xml
     文件         521  2018-05-17 16:12  springboot-dubbo\.idea\libraries\Maven__net_minidev_json_smart_2_2_1.xml
     文件         667  2018-05-17 16:12  springboot-dubbo\.idea\libraries\Maven__nz_net_ultraq_thymeleaf_thymeleaf_layout_dialect_1_4_0.xml
     文件         451  2018-05-17 16:12  springboot-dubbo\.idea\libraries\Maven__ognl_ognl_3_0_8.xml
     文件         625  2018-05-17 16:12  springboot-dubbo\.idea\libraries\Maven__org_apache_tomcat_embed_tomcat_embed_core_8_5_31.xml
     文件         611  2018-05-17 16:12  springboot-dubbo\.idea\libraries\Maven__org_apache_tomcat_embed_tomcat_embed_el_8_5_31.xml
     文件         660  2018-05-17 16:12  springboot-dubbo\.idea\libraries\Maven__org_apache_tomcat_embed_tomcat_embed_websocket_8_5_31.xml
............此处省略290个文件信息

评论

共有 条评论