- 博客(7)
- 资源 (6)
- 收藏
- 关注
原创 解决 Error creating bean with name ‘entityManagerFactory‘ defined in class path resource
class path resource [] cannot be resolved to URL because it does not existUnable to resolve persistence unit root URLentityManagerFactory' defined in class path resource
2022-10-24 12:05:56
4017
2
原创 借助redis实现分布式定时任务锁
场景说明:当前系统是分布式的,工程中有定时任务,要求同一时间只有一个任务出发执行,也不要都在一个部署的服务执行。技术引用:redisson 3.17.7、spring boot 2.2.5。
2022-10-16 18:31:47
1620
原创 SpringCloud Gateway 增加了context-path 404解决办法
1、nginx 代理了后端网关地址时配置了 /api 如下:location /api { proxy_pass http://127.0.0.1:21212; }2、gateway 配置如下:routes: - id: system-server uri: lb://intelligent-system predicates: - Path=/api/system/**, filters: - Dedu...
2022-05-23 12:57:51
1323
1
原创 mybatis plus 出现 Invalid bound statement (not found): *.*.selectPage
先看官网的指示: 错误介绍前提条件配置的很完整直到看到如下介绍时 SqlSessionFactory不要使用原生的,请使用MybatisSqlSessionFactory 工程配置的是双数据源,原先使用的时mybatis,由于升级了就换成了mybatis plus了;当我检查时发现代码如下:@Bean@ConfigurationProperties(prefix = "mybatis")public SqlSessionFactoryBean sqlSessionFactoryBe.
2021-08-25 17:01:56
1995
1
原创 nginx常用负载均衡配置
轮询方式 询方式是默认方式,每个请求按照时间顺序逐一分配到不同的服务器地址处理,服务宕机自动剔除。#配置IP为172.16.2.101:80 的主机server { listen 80; server_name 172.16.2.101; location / { proxy_pass http://web_server; }...
2019-12-13 17:44:27
153
easyUI1.4帮助文档中文
2015-12-27
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅