报错

泡面炒鸡蛋 2018-03-12 12:55:24
spring mvc 引入


控制台报错
[DEBUG] 2018-03-12 12:45:30,883 org.springframework.web.servlet.DispatcherServlet - DispatcherServlet with name 'springmvc' processing GET request for [/SMBMS-MVC/login.html]
[WARN] 2018-03-12 12:45:30,889 org.springframework.web.servlet.PageNotFound - No mapping found for HTTP request with URI [/SMBMS-MVC/login.html] in DispatcherServlet with name 'springmvc'
[DEBUG] 2018-03-12 12:45:30,889 org.springframework.web.servlet.DispatcherServlet - Successfully completed request
[DEBUG] 2018-03-12 12:45:30,890 org.springframework.beans.factory.support.DefaultListableBeanFactory - Returning cached instance of singleton bean 'SqlSessinFactory'
...全文
760 2 打赏 收藏 转发到动态 举报
写回复
用AI写文章
2 条回复
切换为时间正序
请发表友善的回复…
发表回复
泡面炒鸡蛋 2018-03-12
  • 打赏
  • 举报
回复
登陆页页面404找不到 , <mvc:resources location="/statics/" mapping="/statics/**"/>删除后又找到了 但是css js 样式都读不到
xiongdejun 2018-03-12
  • 打赏
  • 举报
回复
location是访问路径 mapping是具体路径 你把你的项目结构还有请求的url贴出来看下

81,092

社区成员

发帖
与我相关
我的任务
社区描述
Java Web 开发
社区管理员
  • Web 开发社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

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