- 博客(19)
- 收藏
- 关注
原创 cannot download ‘https://start.spring.io‘:permission denied:connect
cannot download 'https://start.spring.io':permission denied:connect
2022-11-10 09:22:52
446
原创 com.alibaba.nacos.api.exception.NacosException: Request nacos server failed:
Nacos2.0的服务端完全兼容1.X客户端。Nacos2.0客户端由于使用了gRPC,无法兼容Nacos1.X服务端,请勿使用2.0以上版本客户端连接Nacos1.X服务端。
2022-05-08 16:26:33
21875
3
原创 Error creating bean with name ‘configurationPropertiesBeans‘ defined in class path resource [org
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'configurationPropertiesBeans' defined in class path resource [org/springframework/cloud/autoconfigure/ConfigurationPropertiesRebinderAutoConfiguration.class]: Post-proc
2022-05-08 16:16:33
13633
1
原创 SpringBoot整合RabbitMQ,不用消费者和生产者直接便捷式创建交换机和队列
SpringBoot整合RabbitMQ,不用消费者和生产者直接便捷式创建交换机和队列
2022-05-05 12:37:42
1209
1
原创 Nginx配置https(ssl证书)并反向代理Springboot Jar项目
下载安装NGINX# 下载NGINX:yum install nginx# 启动nginx:systemctl start nginx# 加入开机启动:systemctl enable nginx# 查看nginx的状态:systemctl status nginx配置NGINX下载后需要对NGINX进行配置,这里的配置文件是nginx.conf,可以使用命令 find / -name “nginx.conf” 进行查找,默认是在 /etc/nginx/nginx.conf,在.
2022-04-21 17:58:48
6409
1
原创 Linux中连接MySQL出现“Access denied for user ‘root‘@‘localhost‘ (using password: NO)”
Linux中连接MySQL出现“Access denied for user ‘root‘@‘localhost‘ (using password: NO)”
2022-04-10 17:39:29
9705
3
原创 ssh错误unable to authenticate
远程连接数据库时ssh错误unable to authenticate原因是:ssm连接是linux用户的账号和密码不是mysql的。。。。。。。是我知识匮乏了,还得练。。。。。。下面是改为Linux用户密码后
2022-03-22 17:14:32
2445
1
原创 ssm中service不能注入mapper接口的问题
整合ssm时,发现service层不能注入mapper接口,在springJunit单元测试的时候却能成功注入,一运行web项目则疯狂报错原因是:单元测试时,spring-mybatis已经整合完毕,可以成功注入。但启动web项目时,启动文件web.xml中没有配置监听器,导致Spring相关配置文件没有加载,所以其中引入的spring-mybatis配置文件更不会加载,bean没有创建成功,最终导致了在service中调用时注入失败在web.xml中配置spring的监听器即可<!--
2022-03-12 18:31:23
1963
原创 Error parsing Mapper XML. The XML location is ‘fileorg.apache.ibatis.builder.BuilderException: Error
SSM整合遇到的坑Error parsing Mapper XML. The XML location is 'fileorg.apache.ibatis.builder.BuilderException: Errorjava.lang.IllegalStateException: Failed to load ApplicationContextmybatis逆向工程生成mapper文件和spring整合时可能会报错将mapper文件中的内容注释后再运行就行了
2022-03-11 18:45:48
12279
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人