个人小记
尐䎀濪凝
这个作者很懒,什么都没留下…
展开
-
Maven中更新依赖的时候报:Could not transfer artifact ..... from / to ....错误
使用Idea 打开项目后,配置项目中的本地maven仓库。进入设置之后,如下图点击注意:在第四步和第七和第八步的时候需要根据个人本地maven找到对应的settings.xml所在路径。(在安装maven文件夹中的conf文件夹中),第八步如果你不配置本地的依赖所存仓库路径idea一般默认就是C:\用户\用户名\.m2/repository配置好这两步idea就会弹窗问你是否import,然后你点了之后,正常情况下是开始自动下载依赖。但是我在配置完成后报错:Could not tr原创 2022-03-24 10:13:37 · 13396 阅读 · 0 评论 -
redis工具连接不上redis
我的情况是:1、在centos7中的6379.conf文件中已经把bind的id设置成为:0.0.0.02、而且确认protected-mode 是 no3、requirepass 密码已经开启4、确定防火墙已经关闭如果你没有关闭防火墙:#查看防火墙状态命令:systemctl status firewalld.serviceps:如果看到active(running)则表示防火墙在运行#关闭防火墙命令systemctl stop firewalld.service原创 2021-12-30 23:07:23 · 972 阅读 · 0 评论 -
zookeeper:错误: 找不到或无法加载主类 org.apache.zookeeper.server.quorum.QuorumPeerMain
在centos 7中zookeeper中报错寻找了诸多方法,仍然没有解决。然后发现我下载的tar是源码包,我们应该下载带着-bin的tar包然后重新安装,运行如下图:问题解决!原创 2021-12-30 21:33:47 · 1564 阅读 · 0 评论 -
SpringBoot中A component required a bean of type ‘com.xxx.xxx.dao.PaymentDao‘ that could not be found.
Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled.2021-12-29 22:52:35.557 ERROR [cloud-payment-service,,,] 13720 --- [ restartedMain] o.s.b.d.LoggingFailureAnalysisReporter :************...原创 2021-12-29 23:01:27 · 18294 阅读 · 2 评论 -
Nginx的配置文件nginx.conf组成
这里摘要与尚硅谷的学习文档原创 2021-12-09 16:01:21 · 2019 阅读 · 0 评论 -
Nginx在Centos7中常用的命令
首先,进入Nginx所在的路径cd /usr/local/nginx/sbin1、使用命令查看Nginx的版本./nginx -v2、停止Nginx和启动Nginx停止:./nginx -s stop启动:./nginx3、重新加载Nginx./nginx -s reload在/usr/local/nginx/conf目录下有nginx.conf配置文件使用上述命令能够重新加载Nginx配置文件ps:当我们修改了配置文件的时候,我们...原创 2021-12-09 15:24:09 · 2890 阅读 · 0 评论 -
安装Nginx出现报错
今天在Centos7系统下:把Nginx所需的依赖包都安装好的情况下:进入Nginx的目录中,使用make && make install的时候出现以下报错然后通过在Nginx的目录下进入objc目录修改Makefile并且删除-Werror然后在执行 make && make install然后顺利安装完成!...原创 2021-12-05 23:19:20 · 2826 阅读 · 0 评论 -
.gitignore
学习狂神的时候用的上传git所使用的.gitignore文件原创 2021-11-29 15:41:48 · 152 阅读 · 0 评论 -
centos7 中 reids window 客户端 连接不上
当你的redis.conf中的配置这两个配置都配好的时候,记得关掉防火墙systemctl stop firewalld(暂时关闭防火墙)systemctl disable firewalld(永久关闭防火墙)然后重启redis,正常情况下已经能够成功连接。但是注意:当你修改完配置文件后运行的时候记得查看redis上的进程是否发生如下改变:从这样图变成如果没有如上图发生变化,请将redis服务关闭然后redis的启动服务路径重新绑定/usr/loca...原创 2021-11-05 20:21:37 · 309 阅读 · 0 评论 -
SSM 三层配置文件
applicationContext.xml<?xml version="1.0" encoding="UTF-8"?><beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:context="http://www.springframework.org/schema/con.原创 2021-07-27 14:33:01 · 46 阅读 · 0 评论 -
Pom.xml
项目相关依赖<dependencies> <!--Junit--> <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <version>4.12</version> </dependency> <!--Mybatis--> <depende...原创 2021-07-27 14:26:35 · 98 阅读 · 0 评论 -
database.properties
#driverjdbc.driver=com.mysql.jdbc.Driver#url#Mysql 8 版本以后的url如下 ↓ :# url: jdbc:mysql://localhost:3306/数据库名?useUnicode=true&characterEncoding=utf-8&useSSL=false&serverTimezone=GMT&allowPublicKeyRetrieval=truejdbc.url=jdbc:mysql://localhos原创 2021-07-27 14:22:48 · 75 阅读 · 0 评论