01 IDEA 新建springboot 工程
这个过程没什么值得推敲的,请参考下列网站:
我建立好的项目目录如下,之后的系列教程,都根据这个目录来讲解,请耐心看完:
application.xml配置文件:
server:
port: 8080
servlet:
context-path: /easy
jdbc:
driver: com.mysql.jdbc.Driver
url: jdbc:mysql://localhost:3306/easyloan
username: root
password: 122026
#mybatis
mybatis:
config_file: mybatis-config.xml
entity_package: com.example.demo.entity
mapper_path: mapper/**.xml