-
nacos版本 1.4.1
mysql版本 阿里云RDS8
问题:
单机版本 docker启动可以
docker run -d \
-e MODE=standalone \
-e SPRING_DATASOURCE_PLATFORM=mysql \
-e MYSQL_SERVICE_HOST=rm-222222222222222222222.mysql.rds.aliyunc…
-
环境使用的是vmware Centos8 烦请大佬们看看是什么问题
nacos配置如下:
·nacos-standlone-mysql.env:
MODE=standalone
NACOS_SERVER_PORT=8848
SPRING_DATASOURCE_PLATFORM=mysql
NACOS_SERVER_IP=192.168.30.132
MYSQL_SERVICE_DB_…
-
在windows打包成jar包后,在linux环境运行java -jar 报如下错误,确认initialSize有配置
Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled.
16:35:33.877 [main] ER…
-
### 当前使用版本(必填,否则不予处理)
3.4.1
### 该问题是如何引起的?(确定最新版也有问题再提!!!)
配置了自定义的sqlSessionFactory
public class MybatisPlusConfig {
@Autowired
private Environment env;
@Autowired
…
-
org.springframework.jdbc.CannotGetJdbcConnectionException: Failed to obtain JDBC Connection; nested exception is org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (Co…
-
seata版本 1.3.0
目前的框架是springclod的 但是做了数据库的读写分离配置如下:
`
/**
* 主库
*/
@Bean(name = "master", destroyMethod = "close", initMethod = "init")
@Primary
@ConfigurationProperties…
-
代码从git上拉取下来直接单机模式启动,**mac上成功执行,但是在linux上失败了**
版本:
nacos1.4.0+jdk1.8.0_251
报错如下:
1、db.num is null(好像是有内置的存储结构,不需要mysql吧)
java.io.IOException: java.lang.IllegalArgumentException: db.num is nu…
-
## Issue Description
![image](https://user-images.githubusercontent.com/49481198/120878033-65743380-c5ec-11eb-9e64-d050a5498db9.png)
![image](https://user-images.githubusercontent.com/49481198/1…
-
### Describe what happened (or what feature you want)
### Describe what you expected to happen
### How to reproduce it (as minimally and precisely as possible)
org.springframework.jdbc.…
-
private final String[] QUERY_PREFIX = {"list"};
控制台打印
Switch DataSource to [slave] in Method [List com.weiyin.streetlamp.menu.dao.MenuDao.listAll()]
Restore DataSource to [master] in Method [Li…