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

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

在登錄頁面點擊登錄404 controller 注解也添加了 html路徑也沒錯 找不到問題了,請各位指點

http://img1.sycdn.imooc.com//5d8c13c900012fa112540718.jpghttp://img1.sycdn.imooc.com//5d8c13dc0001bc0a09780627.jpghttp://img1.sycdn.imooc.com//5d8c13f100015f4c12510619.jpg

登錄提示404


http://img1.sycdn.imooc.com//5d8c142d0001880709290299.jpg

正在回答

3 回答

<?xml?version="1.0"?encoding="UTF-8"?>
<web-app?xmlns="http://xmlns.jcp.org/xml/ns/javaee"
?????????xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
?????????xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee?http://xmlns.jcp.org/xml/ns/javaee/web-app_4_0.xsd"
?????????version="4.0">

????<context-param>
????????<param-name>contextConfigLocation</param-name>
????????<param-value>classpath*:spring/spring.xml</param-value>
????</context-param>

????<!--Spring監(jiān)聽器-->
????<listener>
????????<listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>
????</listener>
????<listener>
????????<listener-class>org.springframework.web.context.request.RequestContextListener</listener-class>
????</listener>

????<filter>
????????<filter-name>shiroFilter</filter-name>
????????<filter-class>org.springframework.web.filter.DelegatingFilterProxy</filter-class>
????</filter>

????<filter-mapping>
????????<filter-name>shiroFilter</filter-name>
????????<url-pattern>/*</url-pattern>
????</filter-mapping>

????
????<servlet>
????????<servlet-name>SpringMVC</servlet-name>
????????<servlet-class>org.springframework.web.servlet.DispatcherServlet</servlet-class>

????????<init-param>
????????????<param-name>contextConfigLocation</param-name>
????????????<param-value>classpath*:spring/springmvc.xml</param-value>
????????</init-param>
????????<load-on-startup>1</load-on-startup>
????</servlet>
????<servlet-mapping>
????????<servlet-name>SpringMVC</servlet-name>
????????<url-pattern>/</url-pattern>
????</servlet-mapping>
</web-app>

web.xml


另外,在pom.xml中spring依賴的版本最好換成4.3以上

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

只不過是前后調(diào)換了一下

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

前方高能?。。。?!注意注意!?。?!老師估計手誤 ,,排除靜態(tài)資源那個地方應(yīng)該是這樣 ?。『每影? ?。。?!http://img1.sycdn.imooc.com//5da417e70001146e04820077.jpg

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

舉報

0/150
提交
取消

在登錄頁面點擊登錄404 controller 注解也添加了 html路徑也沒錯 找不到問題了,請各位指點

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

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

幫助反饋 APP下載

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

公眾號

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