https://www.jianshu.com/p/67a1e7725dae
file-manager:
thumbnail:
width: 80 # 缩略图宽
volumes:
- Node: # 可配置多个节点
source: fileSystem # 暂时只支持本地文件系统
alias: Tomcat目录 # 目录别名
path: /D:/Java # 映射目录
_default: true # 是否默认打开
locale:
constraint:
locked: false # 文件夹是否锁定
readable: true # 是否可读
writable: true # 是否可写
git clone https://github.com/konglinghai123/spring-elfinder.git
mvn install
cd spring-web
mvn spring-boot:run
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
<exclusions>
<exclusion>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-tomcat</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-tomcat</artifactId>
<scope>provided</scope>
</dependency>