亚洲在线久爱草,狠狠天天香蕉网,天天搞日日干久草,伊人亚洲日本欧美

為了賬號安全,請及時綁定郵箱和手機立即綁定

Guns啟動報錯

com.stylefeng.guns.rest.modular.auth.validator.impl.DbValidator

https://img1.sycdn.imooc.com//5ad1615b0001c4a003270118.jpg

這個類它沒法注入

還有:MySQLNonTransientConnectionException: Could not create connection to database server. Attempted reconnect 3 times. Giving up.

我修改了數據源,它怎么還是連不上?

這是我在yml文件中的配置:

dev
??jdbc:mysql://127.0.0.1:3306/guns?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false
????root
????
????guns
????log4j,wall,mergeStat

jdbc:mysql://127.0.0.1:3306/guns_flowable?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false
??????root
??????
??dataSourceGuns?jdbc:mysql://127.0.0.1:3306/guns_flowable?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false
????root
????

info
??debug
??logs/
??guns.log

正在回答

2 回答

nested exception is java.io.FileNotFoundException: class path resource [dubbo.properties] cannot be opened because it does not exist

0 回復 有任何疑惑可以回復我~

好了,問題解決了,我把GunsRestApplication看成是GunsApplication了……

0 回復 有任何疑惑可以回復我~

舉報

0/150
提交
取消

Guns啟動報錯

我要回答 關注問題
微信客服

購課補貼
聯系客服咨詢優惠詳情

幫助反饋 APP下載

慕課網APP
您的移動學習伙伴

公眾號

掃描二維碼
關注慕課網微信公眾號