SpringBoot学习

maven下载地址

点击超链接前往maven官网
在这里插入图片描述
点击下载,将压缩包尽量存在C盘以外的盘(懂的都懂),然后解压(解压后的目录即maven的安装位置E:\maven\apache-maven-3.6.3)。

maven环境变量配置

M2_HOME
E:\maven\apache-maven-3.6.3

MAVEN_HOME
E:\maven\apache-maven-3.6.3

path
E:\maven\apache-maven-3.6.3\bin

检查是否配置成功
在命令行中输入mvn -version
在这里插入图片描述

maven依赖包查询

网址1
网址2

阿里云效仓库

https://developer.aliyun.com/mvn/guide

application.yml

spring:
  datasource:
    driver-class-name: com.mysql.cj.jdbc.Driver
    url: jdbc:mysql://127.0.0.1:3306/flutter_database?useUnicode=true&characterEncoding=utf-8&serverTimezone=UTC&useSSL=false
    username: root
    password: 123456
  servlet:
    multipart:
      max-file-size: 100MB
      max-request-size: 100MB
  resources:     #访问系统外部资源,将该目录下的文件映射到系统下
  mvc:
    static-path-pattern: /upload/** # 访问路径
  web:
    resources:
      static-locations: classpath:/static/, file:${D:\upload\}
mybatis:
  mapper-locations: classpath:mapper/*.xml
  type-aliases-package: com.example.spring_flutter.entity
  configuration:
    log-impl: org.apache.ibatis.logging.stdout.StdOutImpl

logging:
  file:
    path: D:/xiaofang_spring_log/

server:
  port: 8099

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值