当前位置:网站首页>Failed to configure a DataSource: ‘url‘ attribute is not specified... Bug solution

Failed to configure a DataSource: ‘url‘ attribute is not specified... Bug solution

2022-07-04 10:53:00 Eric%258436

** If there is a mistake , Thank you for correcting **

If there is a mistake , Thank you for correcting , Please send a private message to the blogger , There is a red envelope for hard work , Worship “ one-word teacher ”.

Please find the paragraphs you need according to the table of contents

Introduction : This blog is organized for individuals Java Learning notes , If there is a mistake , Thank you for correcting . System learning , Welcome to continue to pay attention , Follow up updates
Java communication qq Group 383245788

If your problem is similar to mine , Take a look at my solution .

Question page

 Please add a picture description

log Error message in
No MyBatis mapper was found in ‘[com.ego]’ package. Please check your
configuration. Will not attempt to authenticate using SASL (unknown error)

Console output
 Please add a picture description  Please add a picture description

Solution one

Solution one , Read a lot of blogs , Most of them are this solution . But it didn't solve my problem
 Solution one

Solution two

because
1.pom Medium spring-web and spring-webmvc The versions of are inconsistent , Unify the dependent versions
2. If there is no configuration database related things , The first mybatis,mysql Of pom Dependency comment out

I was in consumerModel It quoted mapper Of maven Problems caused by dependency , Just delete it .

原网站

版权声明
本文为[Eric%258436]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/02/202202141413329273.html