• 大小: 15.24MB
    文件类型: .rar
    金币: 1
    下载: 0 次
    发布日期: 2023-06-26
  • 语言: 其他
  • 标签: springboot  

资源简介

springboot+mybatis结合,多数据源配置,并实现注解aop动态切换,可实现读写分离,maven结构。

资源截图

代码片段和文件信息

package com.springboot;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.boot.web.support.SpringBootServletInitializer;

/**
 * springboot入口类此类需要在所有用到的package上层
 * exclude = {DataSourceAutoConfiguration.class}
 * 禁用springboot默认加载的application.properties单数据源配置
 */
@SpringBootApplication(exclude = {DataSourceAutoConfiguration.class})
public class Application {
    public static void main(String[] args) {

        SpringApplication.run(Application.classargs);
    }
}

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件         11  2018-05-06 16:45  springboot3\.idea\.name

     文件        312  2018-05-06 16:52  springboot3\.idea\artifacts\springboot3_war.xml

     文件       5921  2018-05-06 20:13  springboot3\.idea\artifacts\springboot3_war_exploded.xml

     文件       1221  2018-05-06 16:52  springboot3\.idea\compiler.xml

     文件         76  2018-05-06 16:45  springboot3\.idea\copyright\profiles_settings.xml

     文件        750  2018-05-06 17:08  springboot3\.idea\encodings.xml

     文件        575  2018-05-06 16:52  springboot3\.idea\libraries\Maven__ch_qos_logback_logback_classic_1_1_11.xml

     文件        554  2018-05-06 16:52  springboot3\.idea\libraries\Maven__ch_qos_logback_logback_core_1_1_11.xml

     文件        522  2018-05-06 16:52  springboot3\.idea\libraries\Maven__com_fasterxml_classmate_1_3_4.xml

     文件        644  2018-05-06 16:52  springboot3\.idea\libraries\Maven__com_fasterxml_jackson_core_jackson_annotations_2_8_0.xml

     文件        602  2018-05-06 16:52  springboot3\.idea\libraries\Maven__com_fasterxml_jackson_core_jackson_core_2_8_10.xml

     文件        630  2018-05-06 16:52  springboot3\.idea\libraries\Maven__com_fasterxml_jackson_core_jackson_databind_2_8_10.xml

     文件        546  2018-05-06 16:52  springboot3\.idea\libraries\Maven__com_jayway_jsonpath_json_path_2_2_0.xml

     文件        700  2018-05-06 16:52  springboot3\.idea\libraries\Maven__com_vaadin_external_google_android_json_0_0_20131108_vaadin1.xml

     文件        578  2018-05-06 16:52  springboot3\.idea\libraries\Maven__javax_servlet_javax_servlet_api_3_1_0.xml

     文件        611  2018-05-06 16:52  springboot3\.idea\libraries\Maven__javax_validation_validation_api_1_1_0_Final.xml

     文件        455  2018-05-06 16:52  springboot3\.idea\libraries\Maven__junit_junit_4_12.xml

     文件        574  2018-05-06 16:52  springboot3\.idea\libraries\Maven__mysql_mysql_connector_java_5_1_44.xml

     文件        542  2018-05-06 16:52  springboot3\.idea\libraries\Maven__net_minidev_accessors_smart_1_1.xml

     文件        521  2018-05-06 16:52  springboot3\.idea\libraries\Maven__net_minidev_json_smart_2_2_1.xml

     文件        625  2018-05-06 17:02  springboot3\.idea\libraries\Maven__org_apache_tomcat_embed_tomcat_embed_core_8_5_23.xml

     文件        611  2018-05-06 17:02  springboot3\.idea\libraries\Maven__org_apache_tomcat_embed_tomcat_embed_el_8_5_23.xml

     文件        660  2018-05-06 17:02  springboot3\.idea\libraries\Maven__org_apache_tomcat_embed_tomcat_embed_websocket_8_5_23.xml

     文件        636  2018-05-06 17:02  springboot3\.idea\libraries\Maven__org_apache_tomcat_tomcat_annotations_api_8_5_23.xml

     文件        559  2018-05-06 16:52  springboot3\.idea\libraries\Maven__org_apache_tomcat_tomcat_jdbc_8_5_23.xml

     文件        559  2018-05-06 16:52  springboot3\.idea\libraries\Maven__org_apache_tomcat_tomcat_juli_8_5_23.xml

     文件        549  2018-05-06 16:52  springboot3\.idea\libraries\Maven__org_aspectj_aspectjweaver_1_8_11.xml

     文件        535  2018-05-06 16:52  springboot3\.idea\libraries\Maven__org_assertj_assertj_core_2_6_0.xml

     文件        617  2018-05-06 16:52  springboot3\.idea\libraries\Maven__org_freemarker_freemarker_2_3_26_incubating.xml

     文件        532  2018-05-06 16:52  springboot3\.idea\libraries\Maven__org_hamcrest_hamcrest_core_1_3.xml

............此处省略182个文件信息

评论

共有 条评论