課程
/后端開發
/Java
/Spring MVC起步
不知道是什么錯
2016-11-07
源自:Spring MVC起步 3-5
正在回答
該配置文件的<beans></beans>標簽的屬性少了東西。<beans>加上相應屬性即可
如下面是需要添加的部分的文字版:
xmlns:context="
http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-3.0.xsd
寶寶是吃貨 提問者
舉報
Java中Spring MVC框架入門教程,快來看最易用的MVC框架
2 回答報錯:No plugin found for prefix 'jetty' in the current project and in the plugin groups
2 回答因此當使用 <context:component-scan/> 后,就可以將 <context:annotation-config/> 移除了
1 回答'mediaTypes' is not writable
2 回答jsp頁面突然報錯 Can not find the tag library descriptor for "http://java.sun.com/jsp/jstl/core"
3 回答訪問網站出現:HTTP Error 503. The service is unavailable
Copyright ? 2025 imooc.com All Rights Reserved | 京ICP備12003892號-11 京公網安備11010802030151號
購課補貼聯系客服咨詢優惠詳情
慕課網APP您的移動學習伙伴
掃描二維碼關注慕課網微信公眾號
2016-11-07
該配置文件的<beans></beans>標簽的屬性少了東西。<beans>加上相應屬性即可
如下面是需要添加的部分的文字版:
xmlns:context="
http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-3.0.xsd