- 博客(38)
- 资源 (64)
- 收藏
- 关注
原创 Cannot convert value of type ‘java.lang.String‘ to requi
Caused by: java.lang.IllegalStateException: Cannot convert value of type 'java.lang.String' to required type 'java.sql.Driver' for property 'driver': no matching editors or conversion strategy found
2021-05-27 21:24:05 1485
原创 不允许有匹配 “[xX][mM][lL]“ 的处理指
Caused by: org.xml.sax.SAXParseException; lineNumber: 2; columnNumber: 6; 不允许有匹配 "[xX][mM][lL]" 的处理指令目标。
2021-05-27 10:09:30 446
转载 umount: /mnt/raid:目标忙。
umount: /mnt/raid:目标忙。 (有些情况下通过 lsof(8) 或 fuser(1) 可以 找到有关使用该设备的进程的有用信息)
2021-05-26 09:29:34 866
原创 nginx 实现负载均衡
步骤一:准备工作启动nginx启动 应用服务步骤二:分别以后台启动方式查看 日志(logs***.out)监听这几个日志文件第一种策略默认方式:轮询cd /usr/local/nginx/conf/如果vim 命令不能使用(未安装),请使用vivim nginx.conf在http 节点(模块)下新增 upstream 模块这三个应用服务器端口分别对应,步骤一启动的三个服务在http 节点(模块)下新增 server 模块监听8080端口,将
2021-05-22 23:46:40 526
原创 Linux练习-RAID5创建及管理
要求:在linux服务器中新增加一块硬盘/dev/sdd,并进行分区(分区自定),要求在这4块分区上创建RAID5卷,实现磁盘容错管理。步骤一:添加硬盘步骤二:对新添加的磁盘分区fdisk /dev/sdc创建一个主分区创建一个扩展分区在扩展分区上创建四个逻辑分区保存退出输入partprobe 使命令生效步骤三:创建RAIDmdadm --create --auto=yes /dev/md0 --level=5 --raid-devices=4 --spare-devic
2021-05-21 22:57:33 2666 1
原创 Linux练习-LVM创建及管理
要求:在linux服务器中新增加一块硬盘/dev/sdb,要求linux系统的分区能自动调整磁盘容量。请使用fdisk命令新建/dev/sdb1,/dev/sdb2,/dev/sdb3和/dev/sdb4为LVM类型,并在这4个分区上创建物理卷、卷组和逻辑卷,最后将逻辑卷进行挂载。步骤一:添加一块硬盘 /dev/sdb查看新添加的硬盘信息步骤二:对/dev/sdb 硬盘进行分区fdisk /dev/sdb创建四个主分区查看分区步骤三:将创建的四个主分区设置为LVM类型
2021-05-21 00:17:15 3671 17
转载 Caused by: org.gradle.api.internal.plugins.PluginApplicationException: Failed to apply plugin [id ‘c
Caused by: org.gradle.api.internal.plugins.PluginApplicationException: Failed to apply plugin [id 'com.android.internal.application']
2021-05-19 15:51:21 4879
原创 Mybatis 环境项目搭建
前言好久没写mybatis 了,今天写条博客 加深一些mybatis的 印象!步骤一:创建maven 工程 导入mybatis 相关依赖 <!--单元测试--> <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <version>
2021-05-17 22:27:33 118 2
原创 nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean wit
nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.aop.support.DefaultBeanFactoryPointcutAdvisor#0': Caused by: java.lang.NoClassDefFoundError: org/aspectj/weaver/reflect/Reflecti
2021-05-17 21:55:36 6077
原创 SpringMVC--视图解析器之一个“\” 引发的惨案!
项目环境一段简单的springmvc 环境配置springmvc配置文件web.xml文件测试代码问题描述访问根目录没有问题访问t1 请求路径的时候却不行一段简单的代码,看似没有什么问题问题却出现在springmvc的 配置文件中,配置视图解析器 后缀 多一个“\” 引起的修改后...
2021-05-16 22:27:49 94
原创 BC ailed because the control process exited with error code. See“systemctI st
BC ailed because the control process exited with error code. See"systemctI st
2021-05-16 21:52:05 173
转载 Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?
Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?● docker.service - Docker Application Container Engine Loaded: loaded (/usr/lib/systemd/system/docker.service; disabled; vendor preset: disabled) Active:
2021-05-16 21:51:14 152
原创 FATAL CONFIG FILE ERROR (Redis 6.2.3) *** Reading the configuration file, at line 1252 >>> ‘appendon
FATAL CONFIG FILE ERROR (Redis 6.2.3) ***Reading the configuration file, at line 1252>>> 'appendonly'wrong number of arguments
2021-05-13 22:34:16 5721 12
原创 Could not connect to Redis at 127.0.0.1:6379: Connection refused
Could not connect to Redis at 127.0.0.1:6379: Connection refusednot connected>
2021-05-13 22:30:37 263
原创 org.springframework.data.redis.serializer.SerializationException: Cannot serialize; nested exception
org.springframework.data.redis.serializer.SerializationException: Cannot serialize; nested exception is org.springframework.core.serializer.support.SerializationFailedException: Failed to serialize object using DefaultSerializer; nested exception is java.l
2021-05-12 23:29:09 311
原创 Exception in thread “main“ redis.clients.jedis.exceptions.JedisDataException: ERR no such key
Exception in thread "main" redis.clients.jedis.exceptions.JedisDataException: ERR no such key
2021-05-12 23:26:09 1045
原创 *** FATAL CONFIG FILE ERROR *** Reading the configuration file, at line 341 >>> ‘set-proc-title yes‘
*** FATAL CONFIG FILE ERROR ***Reading the configuration file, at line 341>>> 'set-proc-title yes'Bad directive or wrong number of arguments
2021-05-11 00:10:51 14481
原创 nginx 实现反向代理
需求访问 默认端口80,跳转到tomcat 的 首页(8080端口)安装nginx和tomcat安装nginx传送门安装tomcat传送门步骤一:启动tomcat来到tomcat的 安装目录下的bin目录下启动cd /home/wrz/apache-tomcat-9.0.45/bin./startup.sh步骤二:启动nginx来到nginx 的安装目录下启动cd /usr/local/nginx/sbin/./nginx步骤三:修改nginx 配置文件进入n
2021-05-10 23:30:46 191 2
原创 Linux 下安装nginx
步骤一:下载nginx传送门步骤二:安装环境依赖yum -y install gcc openssl openssl-devel pcre-devel zlib zlib-devel步骤三:解压nginx通过可视化工具将nginx上传到linux 服务器上tar -xvzf nginx-1.20.0.tar.gz步骤四:配置nginx进入nginx 目录cd nginx-1.20.0/配置nginx./configure步骤五:编译nginxmake
2021-05-10 23:29:56 179 2
原创 Linux 下删除nginx
步骤一:停止nginx停止nginx./nginx -s stop查看 进程ps -ef | grep nginx步骤二:查看nginx安装目录whereis nginx步骤三:全局查找nginx相关的文件find / -name nginx*步骤四:删除相关文件rm -rf file /usr/local/nginx*步骤五:使用yum卸载 nginx及相关依赖yum remove nginx...
2021-05-10 23:29:29 243
原创 linux 下安装 tomcat 服务器
步骤一:下载tomcat传送门步骤二:上传tomcat到linux步骤三:解压并启动tomcat解压tar -xvzf apache-tomcat-9.0.45.tar.gz进入bin 目录apache-tomcat-9.0.45/bin启动tomcat./startup.shps -ef | grep tomcat
2021-05-10 23:28:40 141
转载 Git: husky > pre-commit (node v14.16.1)
错误产生环境使用vscode 往码云提交代码时产生错误描述Git: husky > pre-commit (node v14.16.1)错误原因在将代码提交到本地仓库的时候:git commit提交时报错Stashing changes…[started]项目中使用了husky, 这个会在你git commit的时候先执行里面的严谨模式, 对代码进行检查, 有error就会终止提交git commit前检测husky与pre-commit解决办法使用以下命令提交 gi
2021-05-10 20:11:19 5497
原创 make: *** 没有规则可以创建“default”需要的目标“build”。 停止。
make: *** 没有规则可以创建“default”需要的目标“build”。 停止。
2021-05-08 22:45:08 10300
原创 Window下安装zookeeper,启动时闪退
错误产生环境windows 10系统下 启动zookeeper 服务时闪退错误描述直接闪退,截不了图错误原因没有zoo.cfg配置文件解决办法将conf文件夹下面的zoo_sample.cfg复制一份改名为zoo.cfg再次启动在cmd 命令窗口输入netstat -ano发现2181端口已经占用了,说明zookeeper启动成功了...
2021-05-07 21:52:44 218
原创 Unable to infer base url. This is common when using dynamic servlet registration or when the API is
Unable to infer base url. This is common when using dynamic servlet registration or when the API is behind an API Gateway. The base url is the root of where all the swagger resources are served. For e.g. if the api is available at http://example.org/api/v2
2021-05-06 00:05:17 20029 4
原创 Caused by: com.mysql.cj.exceptions.InvalidConnectionAttributeException: The server time zone value ‘
Caused by: com.mysql.cj.exceptions.InvalidConnectionAttributeException: The server time zone value '�й���ʱ��' is unrecognized or represents more than one time zone. You must configure either the server or JDBC driver (via the serverTimezone configuration
2021-05-04 22:46:04 141
原创 2021-05-04 16:37:16.550 ERROR 3268 --- [nio-8080-exec-3] o.a.c.c.C.[.[.[/].[dispatcherServlet] :
2021-05-04 16:37:16.550 ERROR 3268 --- [nio-8080-exec-3] o.a.c.c.C.[.[.[/].[dispatcherServlet] : Servlet.service() for servlet [dispatcherServlet] threw exceptionjava.lang.StackOverflowError: null
2021-05-04 22:05:06 15753 1
原创 使用SpringBoot自定义国际化时-出现的小问题
错误产生环境SpringBoot项目 自定义国际化时产生(前台thymeleaf模板引擎)错误描述java.lang.ArrayIndexOutOfBoundsException: 1 at cn.bloghut.config.MyLocalResolver.resolveLocale(MyLocalResolver.java:33) 错误原因前台点击语言(中文),发生请求从代码中看到,我前台的中文请求通过get 方式在url 地址后面携带参数 ,在拼接zh_CN 的时候太马虎 使用"
2021-05-04 21:56:55 239
原创 java.sql.SQLNonTransientConnectionException: Cannot load connection class because of underlying exce
java.sql.SQLNonTransientConnectionException: Cannot load connection class because of underlying exception: com.mysql.cj.exceptions.WrongArgumentException: Malformed database URL, failed to parse the main URL sections.Caused by: com.mysql.cj.exceptions.Una
2021-05-02 23:47:02 487
转载 Server returns invalid timezone. Go to ‘Advanced‘ tab and set ‘serverTimezone‘ property manually.
Server returns invalid timezone. Go to 'Advanced' tab and set 'serverTimezone' property manually.
2021-05-02 22:26:20 157
原创 javax.servlet.ServletException: Circular view path [index]: would dispatch back to the current handl
javax.servlet.ServletException: Circular view path [index]: would dispatch back to the current handler URL [/index] again. Check your ViewResolver setup! (Hint: This may be the result of an unspecified view, due to default view name generation.) at org.sp
2021-05-02 20:57:10 919 2
原创 Access to XMLHttpRequest at ‘http://localhost:8081/demo/test‘ from origin ‘null‘ has been blocked by
Access to XMLHttpRequest at 'http://localhost:8081/demo/test' from origin 'null' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.localhost:8081/demo/test:1 Failed to load resource: net::ERR_FAIL
2021-05-02 18:41:33 3879 1
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人