报错信息:
Error creating bean with name *Mapper: Unsatisfied dependency......
***************************
APPLICATION FAILED TO START
***************************
Description:
Failed to configure a DataSource: 'url' attribute is not specified and no embedded datasource could be configured.
Reason: Failed to determine a suitable driver class
Action:
Consider the following:
If you want an embedded database (H2, HSQL or Derby), please put it on the classpath.
If you have database settings to be loaded from a particular profile you may need to activate it (no profiles are currently active).
一切好好的运行着,就是变更了一个参数类,就开始报各种扫描不到Mapper类!!
网上各种搜资料,该配置!启动都不行,说出来都丢人,折腾了一会儿。突然想到可能是由于idea导致的,就各种rebuild,还是不行!!
最后尝试了一下 maven-clean,maven-compile就正常了!!!