is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto

Remember this careless question. I was writing the springcloud project at the time and I posted this error report below.

then look down

At that time, I thought that the nacos configuration file was not found. Then I looked at the configuration file on Baidu for a long time and couldn't find the problem. Finally, I found that the mysql dependency was not imported...

<dependency>
    <groupId>mysql</groupId>
    <artifactId>mysql-connector-java</artifactId>
    <version>8.0.17</version>
</dependency>

Just import the dependencies and it will be fine

Guess you like

Origin blog.csdn.net/qq_50158494/article/details/124387757