第七色在线视频,2021少妇久久久久久久久久,亚洲欧洲精品成人久久av18,亚洲国产精品特色大片观看完整版,孙宇晨将参加特朗普的晚宴

為了賬號(hào)安全,請(qǐng)及時(shí)綁定郵箱和手機(jī)立即綁定

用的idea檢查了好幾遍

Caused by: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'userMapper' defined in file [C:\Genius\IdeaProjects\spring\target\classes\com\wisdom\dao\UserMapper.class]: Unsatisfied dependency expressed through bean property 'sqlSessionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sqlSessionFactory' defined in class path resource [com/baomidou/mybatisplus/autoconfigure/MybatisPlusAutoConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.apache.ibatis.session.SqlSessionFactory]: Factory method 'sqlSessionFactory' threw exception; nested exception is com.baomidou.mybatisplus.core.exceptions.MybatisPlusException: Error: GlobalConfigUtils setMetaData Fail !? Cause:java.sql.SQLNonTransientConnectionException: CLIENT_PLUGIN_AUTH is required

at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireByType(AbstractAutowireCapableBeanFactory.java:1515)


正在回答

2 回答

昨天晚上,啟動(dòng)類(lèi)配置了包掃描,確定配置了,跟著你的快速入門(mén)小例子寫(xiě)的,yml只配置了數(shù)據(jù)庫(kù)模塊.
今天換了一臺(tái)電腦,我重新寫(xiě)了一遍,竟然可以了,目前還沒(méi)有發(fā)現(xiàn)具體原因

0 回復(fù) 有任何疑惑可以回復(fù)我~

spring boot啟動(dòng)類(lèi)沒(méi)有配置包掃描

或者yml中沒(méi)有.xml掃描

0 回復(fù) 有任何疑惑可以回復(fù)我~
#1

itmk 提問(wèn)者

解決了,是mysql版本不兼容問(wèn)題導(dǎo)致的
2019-09-19 回復(fù) 有任何疑惑可以回復(fù)我~
#2

老猿 回復(fù) itmk 提問(wèn)者

哦,解決了就好,沒(méi)幫上你的忙
2019-09-20 回復(fù) 有任何疑惑可以回復(fù)我~

舉報(bào)

0/150
提交
取消

用的idea檢查了好幾遍

我要回答 關(guān)注問(wèn)題
微信客服

購(gòu)課補(bǔ)貼
聯(lián)系客服咨詢優(yōu)惠詳情

幫助反饋 APP下載

慕課網(wǎng)APP
您的移動(dòng)學(xué)習(xí)伙伴

公眾號(hào)

掃描二維碼
關(guān)注慕課網(wǎng)微信公眾號(hào)