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

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

<mvc:default-servlet-handler/>報錯是怎么回事

<mvc:default-servlet-handler/>報錯是怎么回事呀

正在回答

3 回答

應該是你的scheme引用錯了

<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 里頭的頭換了試下

5 回復 有任何疑惑可以回復我~
#1

小呆888 提問者

謝謝,換成你的,可以了。
2017-05-08 回復 有任何疑惑可以回復我~

cvc-complex-type.2.4.c: The matching wildcard is strict, but no declaration can be found for element 'mvc:default-servlet-hander'.

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

紫楓fhq

bandler寫錯了?
2018-12-04 回復 有任何疑惑可以回復我~
#2

紫楓fhq 回復 紫楓fhq

hanlder
2018-12-04 回復 有任何疑惑可以回復我~

你在bean中導入的xmlns錯了,以下都是錯的。

xmlns:mvc="http://www.springframework.org/schema/cache"???<!--錯誤的xmlns-->
xmlns:mvc="http://www.springframework.org/schema/tx"??????<!--錯誤的xmlns-->
xmlns:mvc="http://www.springframework.org/schema/task"????<!--錯誤的xmlns-->

正確的是以mvc結尾的。

xmlns:mvc="?????<!--正確的xmlns-->


1 回復 有任何疑惑可以回復我~
#1

gtrfans

xmlns:mvc="http://www.springframework.org/schema/mvc" <!--正確的xmlns-->
2017-04-21 回復 有任何疑惑可以回復我~
#2

小呆888 提問者

恩。解決了。謝謝。
2017-05-08 回復 有任何疑惑可以回復我~

舉報

0/150
提交
取消

<mvc:default-servlet-handler/>報錯是怎么回事

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

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

幫助反饋 APP下載

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

公眾號

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