pom.xml
| |
| <plugin> |
| <groupId>org.springframework.boot</groupId> |
| <artifactId>spring-boot-maven-plugin</artifactId> |
| </plugin> |
| |
| |
| <dependency> |
| <groupId>org.springframework.boot</groupId> |
| <artifactId>spring-boot-devtools</artifactId> |
| <optional>true</optional> |
| </dependency> |
| |
| |
| <dependency> |
| <groupId>com.fasterxml.jackson.dataformat</groupId> |
| <artifactId>jackson-dataformat-xml</artifactId> |
| </dependency> |
| |
| |
| <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-jetty</artifactId> |
| </dependency> |
| |
| |
| <dependency> |
| <groupId>org.springframework.boot</groupId> |
| <artifactId>spring-boot-starter-actuator</artifactId> |
| </dependency> |
| |
| |
| <dependency> |
| <groupId>com.github.theborakompanioni</groupId> |
| <artifactId>thymeleaf-extras-shiro</artifactId> |
| <version>2.0.0</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.shiro</groupId> |
| <artifactId>shiro-spring-boot-starter</artifactId> |
| <version>1.5.3</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.shiro</groupId> |
| <artifactId>shiro-ehcache</artifactId> |
| <version>1.5.3</version> |
| </dependency> |
| |
application.yml
| |
| spring: |
| mvc: |
| static-path-pattern: /res/** |
| |
| |
| resources: |
| static-locations: [classpath:/haha/] |
| |
| |
| resources: |
| add-mappings: false |
| |
| |
| spring: |
| contentnegotiation: |
| favor-parameter: true |
| |
| |
| server: |
| servlet: |
| context-path: /world |
| |
| |
| spring: |
| thymeleaf: |
| cache: false |
| prefix: classpath:/templates/ |
| suffix: .html |
| encoding: UTF-8 |
| content-type: text/html |
| mode: HTML5 |
| |
| |
| |
| |
| spring: |
| servlet: |
| multipart: |
| enabled: true |
| max-file-size: 10MB |
| max-request-size: 100MB |
| |
| |
| spring: |
| datasource: |
| url: jdbc:mysql://localhost:3306/test?characterEncoding=utf8&useSSL=true&serverTimezone=UTC |
| username: root |
| password: root |
| driver-class-name: com.mysql.cj.jdbc.Driver |
| |
| |
| management: |
| endpoints: |
| enabled-by-default: true |
| web: |
| exposure: |
| include: '*' |
| |
| |
| management: |
| endpoints: |
| enabled-by-default: false |
| endpoint: |
| beans: |
| enabled: true |
| health: |
| enabled: true |
| |
| |
| server: |
| port: 80 |
| |
| |
| spring: |
| mvc: |
| view: |
| suffix: ".html" |
| |
| |
| mybatis: |
| configuration: |
| map-underscore-to-camel-case: true |
| |
| |
| logging: |
| level: |
| com: |
| ychen: |
| boot: debug |
| |
· 10年+ .NET Coder 心语,封装的思维:从隐藏、稳定开始理解其本质意义
· .NET Core 中如何实现缓存的预热?
· 从 HTTP 原因短语缺失研究 HTTP/2 和 HTTP/3 的设计差异
· AI与.NET技术实操系列:向量存储与相似性搜索在 .NET 中的实现
· 基于Microsoft.Extensions.AI核心库实现RAG应用
· 阿里巴巴 QwQ-32B真的超越了 DeepSeek R-1吗?
· 10年+ .NET Coder 心语 ── 封装的思维:从隐藏、稳定开始理解其本质意义
· 【设计模式】告别冗长if-else语句:使用策略模式优化代码结构
· 字符编码:从基础到乱码解决
· 提示词工程——AI应用必不可少的技术