Location>code7788 >text

Ruoyi-Cloud startup failure pitfalls, about selectConfigList

Popularity:11 ℃/2024-08-09 21:10:11

Just edited a bunch of, I do not know why added an English word, the current page refresh automatically searched for words, before the content of the total is now to SpringCloud, high concurrency, a few really understand the high concurrency, the problem of the general project does not have any high concurrency. Their previous projects have encountered high concurrency, monolithic services, Tomcat maximum number of connections in the set there and then set a high useless, open the background to see OOM has been jumping, restart the service is also still coming up on the OOM, and later is to allow users to open the registration and use of the city.

 

 ok A word about Ruoyi-Cloud's selectConfigList.

 

 Error creating bean with name 'sysConfigController':
Unsatisfied dependency expressed through field 'configService';
nested exception is :
Error creating bean with name 'sysConfigServiceImpl':
Invocation of init method failed; nested exception is :
Invalid bound statement (not found):

It's important to note that at this point, you should have started your local Nacos. I'll give you a download link if you want to install Nacos.

link (on a website): https:///s/1VQ6_0Wv2Z4UIXqCoqWRDpw Extract code: pdsi

In fact, this problem is quite good to solve No more selling, the practical work begins.

1. First, close the local Nacos

 2. Open the Nacos directory

D:\nacos\conf

 Add the following code

# db mysql
=mysql
=1
.0=jdbc:mysql://localhost:3306/ry-config?characterEncoding=utf8&connectTimeout=1000&socketTimeout=3000&autoReconnect=true&useUnicode=true&useSSL=false&serverTimezone=UTC
=root
=wsnd123

Once you've saved it, start Nacos and start RuoYiSystemApplication, and you'll see that wow, it's working, no more errors.

Ollie gives, and if it helps, you can open a blogland membership to support it.