用的org.mybatis.spring.annotation.MapperScan; insert的时候报错
用tk.mybatis.spring.annotation.MapperScan可以执行
用tk.mybatis.spring.annotation.MapperScan可以执行
2018-06-01
MyMapper.java不是自动生成的,需要自己写的吧。老师貌似没讲下它
2018-06-01
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-configuration-processor</artifactId>
<optional>true</optional>
</dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-configuration-processor</artifactId>
<optional>true</optional>
</dependency>
2018-05-30
@JsonFormat(pattern = "yyyy-MM-dd hh:mm:ss a",locale = "zh",timezone = "GMT+8")
2018-05-30
代码地址: https://github.com/leechenxiang/imooc-springboot-starter
$ git clone https://github.com/leechenxiang/imooc-springboot-starter
Cloning into 'imooc-springboot-starter'...
remote: Counting objects: 294, done.
remote: Compressing objects: 100% (12/12), done.
$ git clone https://github.com/leechenxiang/imooc-springboot-starter
Cloning into 'imooc-springboot-starter'...
remote: Counting objects: 294, done.
remote: Compressing objects: 100% (12/12), done.
2018-05-29
emmmmm 感觉有点乱啊 怎么又有response 又是modelandview 又是ModelMap
2018-05-28