![](https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
springboot
wdd_cn
从事IT行业15年,喜欢技术和技术相关的管理工作。从事软硬件开发多年,包括电子,机械结构,嵌入式和应用程序开发。工作认真,生活随性。
展开
-
spring+mybatis+mysql项目创建
项目目录结构在application.properties文件下配置端口号,mapper路径,数据源mysql6.0要求连接字符串显性表示 SSL和serverTimezoneclasspath:是指resources/下面的目录#服务的端口号server.port=8918#mybatis配置文件路径mybatis.config-location = classp...原创 2019-08-27 12:42:07 · 150 阅读 · 0 评论 -
springboot + mybatis 使用module分层
新建一个springboot的项目在项目上新建mymodel,mydao,myweb,myservice 等maven项目mymodelmymodel中建包com.example.model,建User类package com.example.model;public class User { private int userId; public int get...原创 2019-08-29 15:58:35 · 565 阅读 · 0 评论 -
springboot多module的pom内容
在一个多module的项目里根项目是springboot项目 demomodule是maven项目module进行分层和分工,功能和代码都在module里假设有myweb,myservice,mydao,mymodel四个moduledemo在modules中声明了module父类是spring-parent不引入任何依赖<?xml version="1.0" e...原创 2019-08-30 12:09:08 · 1129 阅读 · 1 评论