- 博客(13)
- 收藏
- 关注
原创 记录一个BUG(黑马头条),当我们修改了nginx的配置文件,然后执行nginx -s reload命令后,发现配置文件的修改并不生效
在写黑马头条的时候,发现通过nginx反向代理自媒体文章,配置文件没有生效
2023-04-21 12:36:10
557
原创 Could not autowire. No beans of ‘RedisConnectionFactory‘ type found
成功解决:Could not autowire. No beans of ‘RedisConnectionFactory‘ type found.
2022-10-17 22:27:42
11972
8
原创 面试:String、StringBuilder、StringBuffer的区别
String,Stringbuffer,StringBuilder的区别
2022-09-30 12:23:31
247
原创 docker出现 Error starting userland proxy: listen tcp4 0.0.0.0:3306: bind: address already in use的解决方法
docker: Error response from daemon: driver failed programming external connectivity on endpoint my (72ccf48eb3804f402d56aa5aff7eadb160176dcb95182516d2ac07259d951c33): Error starting userland proxy: listen tcp4 0.0.0.0:3306: bind: address already in use.
2022-09-28 11:06:19
8338
3
原创 C语言-----计算1-1/2+1/3-1/4+....+1/99-1/100+....直到最后一项的绝对值小于10-4为止
计算1-1/2+1/3-1/4+…+1/99-1/100+…,直到最后一项的绝对值小于10-4为止。
2022-05-06 10:27:02
4074
4
原创 Error creating bean with name ‘xxx‘ defined in javaconfig问题。
作为一个Spring的初学者,检查过文件的配置,全部都是正确的,但是不知道为什么我已启动就是Error creating bean with name 'xxx' defined in javaconfig问题。直接上代码,求大神指点。这是我的项目结构:这是我引入的依赖:<?xml version="1.0" encoding="UTF-8"?><project xmlns="http://maven.apache.org/POM/4.0.0" x
2021-12-02 10:55:46
898
原创 Java中JdbcTemplate的使用
要想使用JdbcTemplate首页得导入相关的jar包,如下:通过一个简单的练习,了解一下JdbcTemplate的使用:import cn.itcat.domain.Emp;import cn.itcat.utils.JDBCUtils;import org.junit.jupiter.api.Test;import org.springframework.jdbc.core.BeanPropertyRowMapper;import org.springframework.jdb.
2021-10-12 11:58:05
558
1
原创 JDBC&DataSoure配置文件
jdbc.propertiesurl=jdbc:mysql://localhost:3306/db4?serverTimezone=Asia/Shanghaiuser=rootpassword=0000driver=com.mysql.cj.jdbc.Driver工具类import java.io.FileReader;import java.io.IOException;import java.net.URL;import java.sql.*;import java.uti
2021-10-10 22:44:16
331
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人