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

為了賬號安全,請及時綁定郵箱和手機(jī)立即綁定
已解決430363個問題,去搜搜看,總會有你想問的

redis java客戶端不能創(chuàng)建JedisPool

redis java客戶端不能創(chuàng)建JedisPool

溫溫醬 2019-03-29 10:55:58
JedisPoolConfigconfig=newJedisPoolConfig();config.setMaxActive(100);config.setMaxIdle(20);config.setMaxWait(1000l);config.setTestOnBorrow(true); JedisPooljedisPool=newJedisPool(config,"localhost");JedisPooljedisPool=newJedisPool(config,"localhost");這句Eclipse總是報錯,鼠標(biāo)移到小紅叉上提示:Multiplemarkersatthisline -Thetypeorg.apache.commons.pool.impl.GenericObjectPool$Configcannotberesolved.Itisindirectlyreferencedfrom required.classfiles -TheconstructorJedisPool(GenericObjectPool$Config,String)referstothemissingtypeGenericObjectPool$Configjedis.jar的版本是2.1.0
查看完整描述

2 回答

?
泛舟湖上清波郎朗

TA貢獻(xiàn)1818條經(jīng)驗(yàn) 獲得超3個贊

沒錯,commons-pool這個依賴包必須添加上,否則代碼是對的也報錯
                            
查看完整回答
反對 回復(fù) 2019-03-29
  • 2 回答
  • 0 關(guān)注
  • 445 瀏覽
慕課專欄
更多

添加回答

舉報

0/150
提交
取消
微信客服

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

幫助反饋 APP下載

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

公眾號

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