1 Star 0 Fork 1

wangjt/iamxiongx-manager-web

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
JtyjySpringbootManagerApplication.java 1.06 KB
一键复制 编辑 原始数据 按行查看 历史
xxxxx 提交于 2018-07-13 17:31 +08:00 . no commit message
package com;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.web.EmbeddedServletContainerAutoConfiguration;
import org.springframework.context.annotation.Import;
import org.springframework.transaction.annotation.EnableTransactionManagement;
import com.iamxiongx.springboot.datasource.DynamicDataSourceRegister;
@SpringBootApplication
@EnableTransactionManagement
//屏蔽默认的EmbeddedServletContainerAutoConfiguration
@EnableAutoConfiguration(exclude={EmbeddedServletContainerAutoConfiguration.class})
//启动fastdfs、以及多数据源
//@EnableMBeanExport(registration = RegistrationPolicy.IGNORE_EXISTING)
//@Import({DynamicDataSourceRegister.class,FdfsClientConfig.class})
@Import({DynamicDataSourceRegister.class})
public class JtyjySpringbootManagerApplication {
public static void main(String[] args) {
SpringApplication.run(JtyjySpringbootManagerApplication.class, args);
}
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Java
1
https://gitee.com/wangjt110/iamxiongx-manager-web.git
git@gitee.com:wangjt110/iamxiongx-manager-web.git
wangjt110
iamxiongx-manager-web
iamxiongx-manager-web
master

搜索帮助