- 博客(2)
- 收藏
- 关注
原创 SpringBoot内置Tomcat实现JNDI多数据源配置
文章目录一、数据源连接池介绍二、SpringBoot内置Tomcat实现JNDI多数据源配置1、添加依赖2、启动类注解3、配置dataSource数据源信息4、配置yml文件5、测试三、其他一、数据源连接池介绍在Java开发中,使用JDBC操作数据库包括以下四个步骤: ① 加载数据库驱动程序:Class.forName(“数据库驱动类”); ② 连接数据库:Connection con = DriverManager.getConnection(); ③ 操作数据库:Prep
2022-03-25 15:29:19
3062
3
原创 [THYMELEAF][http-nio-8080-exec-1] Exception processing template “xxx“ 报错解决方案
问题描述在SpringBoot项目中使用Thymeleaf作为模板引擎时,出现了以下错误:[THYMELEAF][http-nio-8080-exec-1] Exception processing template "xxx": Error resolving template [xxx], template might not exist or might not be accessible by any of the configured Template Resolversorg.thyme
2022-03-25 15:28:24
8140
1
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人