課程
/后端開發
/Java
/Spring MVC起步
配置是這樣的,沒有配置<mvc:resources>的時候能夠訪問到歡迎頁面,不能訪問靜態資源
配置<mvc:resources>后能訪問到靜態資源文件,不能訪問到歡迎頁面的jsp
2015-08-07
源自:Spring MVC起步 4-1
正在回答
404多半是spring mvc沒起起來
遇到個問題,求大神解決?。?/p>
在啟動tomcat時,總是失敗,提示:二月 16, 2016 5:08:19 下午 org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["http-bio-8080"]
二月 16, 2016 5:08:19 下午 org.apache.catalina.core.StandardService startInternal
INFO: Starting service Tomcat
二月 16, 2016 5:08:19 下午 org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet Engine: Apache Tomcat/7.0.47
二月 16, 2016 5:08:22 下午 org.apache.catalina.core.ApplicationContext log
INFO: No Spring WebApplicationInitializer types detected on classpath
INFO: Initializing Spring root WebApplicationContext
log4j:WARN No appenders could be found for logger (org.springframework.web.context.ContextLoader).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
INFO: Initializing Spring FrameworkServlet 'mvc-dispatcher'
二月 16, 2016 5:08:23 下午 org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["http-bio-8080"]
qq_黑色契約_0
同樣404,項目是原封不動down下來的,jetty可以啟動。
舉報
Java中Spring MVC框架入門教程,快來看最易用的MVC框架
1 回答404錯誤
4 回答出現404錯誤
5 回答這樣404錯誤
8 回答http://localhost:8080/hello/mvc 報404錯誤
7 回答404錯誤不知道哪里出問題了
Copyright ? 2025 imooc.com All Rights Reserved | 京ICP備12003892號-11 京公網安備11010802030151號
購課補貼聯系客服咨詢優惠詳情
慕課網APP您的移動學習伙伴
掃描二維碼關注慕課網微信公眾號
2015-08-18
404多半是spring mvc沒起起來
2016-02-16
遇到個問題,求大神解決?。?/p>
在啟動tomcat時,總是失敗,提示:二月 16, 2016 5:08:19 下午 org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["http-bio-8080"]
二月 16, 2016 5:08:19 下午 org.apache.catalina.core.StandardService startInternal
INFO: Starting service Tomcat
二月 16, 2016 5:08:19 下午 org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet Engine: Apache Tomcat/7.0.47
二月 16, 2016 5:08:22 下午 org.apache.catalina.core.ApplicationContext log
INFO: No Spring WebApplicationInitializer types detected on classpath
二月 16, 2016 5:08:22 下午 org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring root WebApplicationContext
log4j:WARN No appenders could be found for logger (org.springframework.web.context.ContextLoader).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
二月 16, 2016 5:08:22 下午 org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring FrameworkServlet 'mvc-dispatcher'
二月 16, 2016 5:08:23 下午 org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["http-bio-8080"]
2016-01-11
同樣404,項目是原封不動down下來的,jetty可以啟動。