Lifetime enemy

building project idea, driver package version was changed from the version 8.0.16 to 5.x,
-Service, DAL, we are incorporated in the module config mysql-connection of 5.0.x dependencies,
so the rear drive change, service module has been driven failure, reported datasource configuration errors. . . . . .

Here's how to speak to delete or change dependent on the maven:
to view this module depends version
image.png

After you change the drive to see which module uses mysql5.0 version dependencies, the module to change its reliance version
changes and then come back to see whether the change is successful
image.png

Corresponding pay4spring-cloud.iml remember to change the module file under mysq-connection dependent on the version number of
the sub-project dependencies maven dependencies parent maven project, which I covered in the original version mysq-connection-dependent, reconfigure the current sub-maven the mysql-connection 8.0.16 version dependencies.

Finally, recompiling, under the dependent config module also recompile start, last start of the current service module application
last successful operation! ! !

Life of the enemy!

Guess you like

Origin www.cnblogs.com/fightingcode/p/11996351.html