spring 路径错误,求大神帮忙看看

sinat_18997159 2016-09-01 03:34:16
idea里面报错No mapping found for HTTP request with URI [/owl_studio_account_transaction/user/loginwithphonenum.do] in DispatcherServlet with name 'spring'
页面报错
HTTP Status 404 -

type Status report

message

description The requested resource is not available.

Apache Tomcat/7.0.70
这是哪里出了什么问题啊
web.xml如下:
<servlet>
<servlet-name>spring</servlet-name>
<servlet-class>org.springframework.web.servlet.DispatcherServlet</servlet-class>
<init-param>
<param-name>contextConfigLocation</param-name>
<param-value>classpath:conf/*.xml</param-value>
</init-param>
<load-on-startup>1</load-on-startup>
</servlet>
<servlet-mapping>
<servlet-name>spring</servlet-name>
<url-pattern>*.do</url-pattern>
</servlet-mapping>
...全文
406 回复 打赏 收藏 转发到动态 举报
写回复
用AI写文章
回复
切换为时间正序
请发表友善的回复…
发表回复

50,528

社区成员

发帖
与我相关
我的任务
社区描述
Java相关技术讨论
javaspring bootspring cloud 技术论坛(原bbs)
社区管理员
  • Java相关社区
  • 小虚竹
  • 谙忆
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧