提交
This commit is contained in:
parent
9868b7b80e
commit
b8b5129ae3
@ -27,6 +27,12 @@ pom.xml引入依赖
|
||||
|
||||

|
||||
|
||||
## 使用@Autowired注解报红的解决办法
|
||||
|
||||
打开Settings -> Editor -> Inspections -> Spring -> Spring Core -> Code,找到Incorrect autowiring in Spring bean components,将代码审查级别从Error修改为Warning
|
||||
|
||||

|
||||
|
||||
# JetBrains Rider
|
||||
|
||||
## 安装CodeGlance Pro后关闭原有的在滚动条悬停时显示代码
|
||||
|
||||
@ -2,17 +2,34 @@
|
||||
|
||||
---
|
||||
|
||||
# Java
|
||||
# Spring Boot
|
||||
|
||||
## Intellij IDEA 使用及配置
|
||||
## Hikari数据库连接池
|
||||
|
||||
### 使用@Autowired注解报红的解决办法
|
||||
### 配置
|
||||
|
||||
打开Settings -> Editor -> Inspections -> Spring -> Spring Core -> Code,找到Incorrect autowiring in Spring bean components,将代码审查级别从Error修改为Warning
|
||||
```yaml
|
||||
spring:
|
||||
datasource:
|
||||
url: jdbc:mysql://127.0.0.1:3306/yami_shops?allowMultiQueries=true&useSSL=false&useUnicode=true&characterEncoding=UTF-8&autoReconnect=true&zeroDateTimeBehavior=convertToNull&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=GMT%2B8&nullCatalogMeansCurrent=true
|
||||
username: root
|
||||
password: root
|
||||
driver-class-name: com.mysql.cj.jdbc.Driver
|
||||
type: com.zaxxer.hikari.HikariDataSource
|
||||
hikari:
|
||||
minimum-idle: 0
|
||||
maximum-pool-size: 20
|
||||
idle-timeout: 10000
|
||||
connection-test-query: select 1
|
||||
```
|
||||
|
||||

|
||||
## logback日志框架
|
||||
|
||||
## 开源框架若依 RuoYi
|
||||
### 配置
|
||||
|
||||
##
|
||||
|
||||
# 开源框架若依 RuoYi
|
||||
|
||||
### 替换Mybatis为Mybatis-Plus
|
||||
|
||||
|
||||
@ -1,5 +0,0 @@
|
||||
---
|
||||
title: 设计模式
|
||||
date: 2023-01-03 10:11:47
|
||||
author: 文永达
|
||||
---
|
||||
Loading…
x
Reference in New Issue
Block a user