- 博客(13)
- 收藏
- 关注
原创 【IDEA】springboot 1.x与2.x版本默认数据源切换
springboot默认支持的4种数据源:① org.apache.tomcat.jdbc.pool.DataSource;② com.zaxxer.hikari.HikariDataSource;;③ org.apache.commons.dbcp.BasicDataSource;④ org.apache.commons.dbcp2.BasicDataSource
2023-07-28 00:27:56
461
1
原创 【IDEA】数据库连接失败Access denied for user ‘xxx‘@‘localhost‘ (using password: YES)
数据库连接失败Access denied for user 'xxx'@'localhost' (using password: YES)
2023-07-27 17:50:44
6770
10
原创 解决springboot错误页面exception、message取值为空
springboot错误页面exception、message取值为空
2023-07-23 21:09:15
529
1
原创 【IDEA】解决springboot使用thymeleaf模板引擎,页面跳转时样式失效
解决springboot使用thymeleaf模板引擎,页面跳转时样式失效
2023-07-12 19:20:00
802
1
原创 【IDEA】IntelliJ IDEA 2020.1.2设置全局配置找不到Other Settings?
idea设置全局配置找不到Other Settings?
2023-07-11 21:54:21
548
原创 @RequsetMapping、@GetMapping、@PostMapping获取参数的方式
@RequsetMapping、@GetMapping、@PostMapping获取参数的方式
2023-07-09 17:46:00
3596
1
原创 【IDEA】@RequestMapping与@GetMapping、@PostMapping的区别
@RequestMapping与@GetMapping、@PostMapping的区别
2023-07-08 01:56:53
1684
原创 【IDEA】解决配置xml文件时,idea提示 application context not configured for this file 的问题
idea提示 application context not configured for this file
2023-07-04 21:23:04
2382
原创 【IDEA】maven项目刷新依赖的两种方式
在 File ——> Settings ——> Build,Execution,Deployment ——> Build Tools ——> Maven ——> Importing,勾选上。本人使用的IDEA是2020.1.2版本,IDEA版本不同选项显示也会略有不同。,意味着每次修改pom.xml文件后需要手动刷新一次;在每次修改pom.xml文件后,可以点击右上角出现的。,则idea会自动帮你下载新添加的依赖。这个选项,这里借用一下大佬的图。虽然没有这个选项,但也有办法。亦或者选择使用快捷键。
2023-07-03 23:08:14
20131
1
原创 【IDEA】成功解决导入配置文件处理器spring-boot-configuration-processor后仍没有出现提示问题
发现代码并未有错,后来查阅发现在写入依赖之后,手动刷新了一遍依赖(reload project),而并没有刷新maven工程。今天在学习yml配置文件值的获取时,导入配置文件处理器。后发现在配置文件中并未出现提示。点击右上方绿色锤子🔨即可。
2023-07-03 22:14:01
906
2
原创 解决SpringBoot启动报错 :o.s.b.d.LoggingFailureAnalysisReporter
SpringBoot启动报错 :o.s.b.d.LoggingFailureAnalysisReporter:Description: Failed to configure a DataSource: 'url' attribute is not specified and no embedded datasource could be configured.Reason: Failed to determine a suitable driver class
2023-07-03 00:41:31
23914
4
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人