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

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

404 和505 錯(cuò)誤,http://localhost:8080/seckill/可成功出現(xiàn)index頁(yè)面,但http://localhost:8080/seckill/seckill和http://localhost:8080/seckill/seckill/list分別出現(xiàn)404個(gè)505錯(cuò)誤

http://img1.sycdn.imooc.com//581c62400001724f18960932.jpg

### Error querying database. ?Cause: org.springframework.jdbc.CannotGetJdbcConnectionException: Could not get JDBC Connection; nested exception is java.sql.SQLException: An attempt by a client to checkout a Connection has timed out.

### The error may exist in file [E:\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\seckill\WEB-INF\classes\mapper\SeckillDao.xml]

### The error may involve org.seckill.dao.SeckillDao.queryAll

### The error occurred while executing a query

### Cause: org.springframework.jdbc.CannotGetJdbcConnectionException: Could not get JDBC Connection; nested exception is java.sql.SQLException: An attempt by a client to checkout a Connection has timed out.] with root cause

com.mchange.v2.resourcepool.TimeoutException: A client timed out while waiting to acquire a resource from com.mchange.v2.resourcepool.BasicResourcePool@fff09ff -- timeout at awaitAvailable()

這是什么原因,http://localhost:8080/seckill/可成功出現(xiàn)index頁(yè)面,但http://localhost:8080/seckill/seckill和http://localhost:8080/seckill/seckill/list分別出現(xiàn)404個(gè)505錯(cuò)誤

正在回答

3 回答

兄臺(tái),我也報(bào)跟你類(lèi)似的錯(cuò)誤,請(qǐng)問(wèn)你是怎么解決的啊

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

Echo鑫 提問(wèn)者

我的是鏈接數(shù)據(jù)庫(kù)端口我弄錯(cuò)了,你檢查下jdbc配置文件看看
2017-03-02 回復(fù) 有任何疑惑可以回復(fù)我~

已解決,端口問(wèn)題

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

SeckillDao.xml 看看這個(gè)或者mybatis配置文件是否有問(wèn)題,404是代表頁(yè)面沒(méi)有找到。505是HTTP Version Not Supported是由于服務(wù)器對(duì)http1.1協(xié)議不支持或者支持不好,看看GET請(qǐng)求后面是否多加了空格。

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

Echo鑫 提問(wèn)者

我這代碼,基本全是按照視頻里打的,并對(duì)照了老師的源代碼,沒(méi)錯(cuò)啊,不知道為什么就是出現(xiàn)不來(lái)頁(yè)面,鏈接不到數(shù)據(jù)庫(kù)。
2016-11-05 回復(fù) 有任何疑惑可以回復(fù)我~

舉報(bào)

0/150
提交
取消

404 和505 錯(cuò)誤,http://localhost:8080/seckill/可成功出現(xiàn)index頁(yè)面,但http://localhost:8080/seckill/seckill和http://localhost:8080/seckill/seckill/list分別出現(xiàn)404個(gè)505錯(cuò)誤

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

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

幫助反饋 APP下載

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

公眾號(hào)

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