![](https://img-blog.csdnimg.cn/20201014180756780.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
spring boot
xb_smart
“It’s the little details that are vital. Little things make big things happen.”
展开
-
spring boot maven构建及可执行jar包导出
主要maven配置:1.在打包jar前执行:mvn dependency:copy-dependencies -DoutputDirectory=lib,将依赖导出至lib包,便于jar包依赖2.执行mvn clean package org.springframework.boot原创 2016-11-22 20:01:03 · 6994 阅读 · 0 评论 -
Spring boot+MyBatis+Sharding jdbc配置
Maven配置MyBatis配置相关sharding-jdbc分表配置为便于在工作中进行单机多服务部署及简化开发配置,将现有系统迁移至Spring boot。Maven配置 Spring boot相关依赖:web、jdbc、aop相关依赖包(由于项目中应用了redis,所以一并移植了)<dependencyManagement> <dependencies>原创 2016-11-26 16:52:55 · 11477 阅读 · 3 评论