SpringBoot.Web访问本地资源

1、application.yml

spring:
  # ZC: 本地资源配置
  resources:
    static-locations: classpath:/resources/,classpath:/static/,file:E://easydrawin

  # ZC: 数据源配置
  datasource:
    url: jdbc:sqlserver://172.16.19.243:1433;SelectMethod=cursor;DatabaseName=gisAdmin
    username: sa
    password: sae
    driver-class-name: com.microsoft.sqlserver.jdbc.SQLServerDriver
    type: com.alibaba.druid.pool.DruidDataSource

2、spring boot访问本地静态资源_Java识堂的博客-CSDN博客_springboot访问本地资源.html(https://blog.csdn.net/zzti_erlie/article/details/92167589

3、

4、

5、

原文地址:https://www.cnblogs.com/javaskill/p/13328104.html