404错误,求大神解答
Type Status Report
Description The origin server did not find a current representation for the target resource or is not willing to disclose that one exists.
完全按照老师讲的一步一步配置的,结果出现这种错误,服务器正常启动,没有报错
Type Status Report
Description The origin server did not find a current representation for the target resource or is not willing to disclose that one exists.
完全按照老师讲的一步一步配置的,结果出现这种错误,服务器正常启动,没有报错
2017-07-17
ssh整合出现的404大多是监听器配置问题
<!-- 配置Spring框架核心的监听器 -->
<listener>
<listener-class>org.springframework.web.context.ContextLoaderListener </listener-class>
</listener>
<context-param>
<param-name>contextConfigLocation</param-name>
<!-- 该路径以webRoot作为根路径 默认/WEB-INF/ -->
<param-value>classpath:applicationContext.xml</param-value>
</context-param>
而classpath:就是src目录下的配置文件
举报