課程
/后端開發(fā)
/Java
/Java高并發(fā)秒殺API之web層
<mvc:default-servlet-handler/>報(bào)錯(cuò)是怎么回事呀
2017-04-21
源自:Java高并發(fā)秒殺API之web層 2-2
正在回答
應(yīng)該是你的scheme引用錯(cuò)了
<beans?xmlns="http://www.springframework.org/schema/beans" ???????xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"?xmlns:mvc="http://www.springframework.org/schema/mvc" ???????xmlns:context="http://www.springframework.org/schema/context" ???????xsi:schemaLocation="http://www.springframework.org/schema/beans ???????http://www.springframework.org/schema/beans/spring-beans.xsd ????????http://www.springframework.org/schema/mvc ????????http://www.springframework.org/schema/mvc/spring-mvc.xsd ????????http://www.springframework.org/schema/context ????????http://www.springframework.org/schema/context/spring-context.xsd">
把你spring-web.xml 里頭的頭換了試下
小呆888 提問者
cvc-complex-type.2.4.c: The matching wildcard is strict, but no declaration can be found for element 'mvc:default-servlet-hander'.
紫楓fhq
紫楓fhq 回復(fù) 紫楓fhq
你在bean中導(dǎo)入的xmlns錯(cuò)了,以下都是錯(cuò)的。
xmlns:mvc="http://www.springframework.org/schema/cache"???<!--錯(cuò)誤的xmlns--> xmlns:mvc="http://www.springframework.org/schema/tx"??????<!--錯(cuò)誤的xmlns--> xmlns:mvc="http://www.springframework.org/schema/task"????<!--錯(cuò)誤的xmlns-->
正確的是以mvc結(jié)尾的。
xmlns:mvc="?????<!--正確的xmlns-->
gtrfans
舉報(bào)
Java實(shí)現(xiàn)高并發(fā)秒殺API的第三門課,介紹Web層的設(shè)計(jì)和實(shí)現(xiàn)
2 回答<mvc:default-servlet-handler/>
4 回答<mvc:default-servlet-handler />不起作用
2 回答出現(xiàn)錯(cuò)誤,這是怎么回事呢?
1 回答javax.el.PropertyNotFoundException 這是怎么回事???
2 回答怎么回事?無法獲得當(dāng)前時(shí)間,控制臺(tái)報(bào)錯(cuò)(404)
Copyright ? 2025 imooc.com All Rights Reserved | 京ICP備12003892號-11 京公網(wǎng)安備11010802030151號
購課補(bǔ)貼聯(lián)系客服咨詢優(yōu)惠詳情
慕課網(wǎng)APP您的移動(dòng)學(xué)習(xí)伙伴
掃描二維碼關(guān)注慕課網(wǎng)微信公眾號
2017-04-21
應(yīng)該是你的scheme引用錯(cuò)了
把你spring-web.xml 里頭的頭換了試下
2018-05-14
cvc-complex-type.2.4.c: The matching wildcard is strict, but no declaration can be found for element 'mvc:default-servlet-hander'.
2017-04-21
你在bean中導(dǎo)入的xmlns錯(cuò)了,以下都是錯(cuò)的。
正確的是以mvc結(jié)尾的。