Sprigboot+ssmのアプリ配置


Sprigboot+ssmのアプリ配置
ここで私の個人ブログを紹介します。
csdn:雷園のcsdnブログ
個人ブログ:雷園の個人ブログ
簡単な本:雷園の略書
1.私が使っているのはyml形式のプロファイルです。2.コードは以下の通りです
#   
server:
  port: 8080 
#Spring   
spring:
  datasource:
  #   
    type: com.alibaba.druid.pool.DruidDataSource
    #  
    driver-class-name: com.mysql.jdbc.Driver
    #     
    url: jdbc:mysql://localhost:3306/saomadiancan?characterEncoding=utf-8&autoReconnect=true&failOverReadOnly=false
    #   
    username: root
    #  
    password: root
    #      
    thymeleaf:
    #           
      prefix: classpath:/templates/
      suffix: .html
      mode: HTML5
 #  mybatis
mybatis:
#    
  type-aliases-package: com.ambow.springboot.entity
  #  mapping  
  mapper-locations: classpath:mapping/*.xml