先把错误贴上来

No mapping found for HTTP request with URI [/crmcrmcrm/css/sb-admin-2.css] in DispatcherServlet with name 'springMvc'
DEBUG [http-bio-8080-exec-6] - Successfully completed request
DEBUG [http-bio-8080-exec-7] - Did not find handler method for [/css/font-awesome.min.css]
 WARN [http-bio-8080-exec-9] - No mapping found for HTTP request with URI [/crmcrmcrm/css/bootstrap.min.css] in DispatcherServlet with name 'springMvc'
DEBUG [http-bio-8080-exec-9] - Successfully completed request
 WARN [http-bio-8080-exec-7] - No mapping found for HTTP request with URI [/crmcrmcrm/css/font-awesome.min.css] in DispatcherServlet with name 'springMvc'
DEBUG [http-bio-8080-exec-7] - Successfully completed request
DEBUG [http-bio-8080-exec-5] - Did not find handler method for [/css/dataTables.bootstrap.css]
 WARN [http-bio-8080-exec-5] - No mapping found for HTTP request with URI [/crmcrmcrm/css/dataTables.bootstrap.css] in DispatcherServlet with name 'springMvc'
DEBUG [http-bio-8080-exec-4] - Did not find handler method for [/css/metisMenu.min.css]
DEBUG [http-bio-8080-exec-5] - Successfully completed request
 WARN [http-bio-8080-exec-4] - No mapping found for HTTP request with URI [/crmcrmcrm/css/metisMenu.min.css] in DispatcherServlet with name 'springMvc'
DEBUG [http-bio-8080-exec-4] - Successfully completed request
DEBUG [http-bio-8080-exec-10] - DispatcherServlet with name 'springMvc' processing GET request for [/crmcrmcrm/js/jquery.min.js]
DEBUG [http-bio-8080-exec-10] - Looking up handler method for path /js/jquery.min.js
DEBUG [http-bio-8080-exec-10] - Did not find handler method for [/js/jquery.min.js]
 WARN [http-bio-8080-exec-10] - No mapping found for HTTP request with URI [/crmcrmcrm/js/jquery.min.js] in DispatcherServlet with name 'springMvc'
DEBUG [http-bio-8080-exec-10] - Successfully completed request

项目没有报错,ssm构建也成功,jsp和css,js的目录位置也对,反正就是访问不到静态资源。

经过了艰苦卓绝的寻找。。终于找到错误

原因在这里 web.xml中

在这里我用的是/拦截,拦截了除了jsp以外的所有请求,显然把静态资源也拦截了。

解决办法:换成了*.action就ok了

No mapping found for HTTP request with URI [/crmcrmcrm/css/bootstrap.min.css] in DispatcherServlet with name 'springMvc'的更多相关文章

  1. springmvc No mapping found for HTTP request with URI in Dispatc

    springmvc No mapping found for HTTP request with URI in Dispatc 博客分类: Java Web springmvcspring MVCNo ...

  2. springmvc搭建环境时报No mapping found for HTTP request with URI [/exam3/welcome] in DispatcherServlet with name 'spring2'

    项目是使用spring MVC (1)在浏览器中访问,后台总报错: No mapping found for HTTP request with URI [/exam3/welcome] in Dis ...

  3. No mapping found for HTTP request with URI [/jiaoyu/student/add] in DispatcherServlet with name 'SpringMVC'

    项目是使用spring MVC (1)在浏览器中访问,后台总报错: No mapping found for HTTP request with URI [/exam3/welcome] in Dis ...

  4. 完美解决SpringMVC中静态资源无法找到(No mapping found for HTTP request with URI)问题

    https://blog.csdn.net/kingmax54212008/article/details/79330308 今天遇到一个比较新奇的问题,但是也应该是使用spring MVC框架时由于 ...

  5. spring访问静态资源出错,No mapping found for HTTP request with URI xxx/resources/js/jquery.min.js...

    问题:spring访问静态资源出错,No mapping found for HTTP request with URI xxx/resources/js/jquery.min.js... web.x ...

  6. SpringMvc出现No mapping found for HTTP request with URI的终极解决办法

    No mapping found for HTTP request with URI 出现这个问题的原因是在web.xml中配置错了,如: <servlet> <servlet-na ...

  7. 问题 “No mapping found for HTTP request with URI [/rbiz4/uploadFile.html]” 的解决

    从以前的SpringMVC项目简化一下做个例子,结果出现了下面的错误: No mapping found for HTTP request with URI [/rbiz4/uploadFile.ht ...

  8. 相对路径获取项目文件 及报错 No mapping found for HTTP request with URI XXX in DispatcherServlet with name ‘springmvc’解决方法

    首先一点,WebRoot目录下的文件是都可以通过浏览器输入路径,直接读取到的 例如这样: 而WebRoot下面WEB-INF是无法浏览器输入路径直接读取的. 因为是受保护的. 如果jsp读取一个图片的 ...

  9. No mapping found for HTTP request with URI [] in DispatcherServlet with name 'appServlet'

    项目是使用SpringMVC (1)在浏览器中访问,后台总报错: No mapping found for HTTP request with URI [] in DispatcherServlet ...

随机推荐

  1. Selenium Chrome

    Chrome版本不变 发现在 Selenium-server-standalone-2.39.0.jar 中可全屏 Selenium-server-standalone-3.8.1.jar 中不可全屏 ...

  2. .Net Core 管道中的ConfigureServices 和Configure

    ConfigureServices    就是配置服务器的DI容器 把需要的中间件等一些东西添加到DI容器   最后都是添加到IServiceCollection里面 比如 services.AddI ...

  3. Vue项目使用bootstrap

    ①npm install boostrap@4.0.0 --save @4.0.0为版本号 ②在项目的main.js中添加 import 'bootstrap/dist/css/bootstrap.m ...

  4. hbase的api操作之scan

    扫描器缓存----------------    面向行级别的.    @Test    public void getScanCache() throws IOException { Configu ...

  5. tensorflow lite的demo在android studio上环境搭建

    由于很久没有接触过Android开发,而且最早用的是eclipse,所以这个demo在android studio上的搭建过程,真的是踩了不少坑.记录这篇文章,纯粹是给自己一点收获. 环境搭建的过程, ...

  6. JavaScript前端面试题总结

    1.em和rem 像素(px):用于元素的边框或定位. em/rem:用于做响应式页面,em相对于父元素,rem相对于根元素. rem 单位翻译为像素值是由 html 元素的字体大小决定的. 此字体大 ...

  7. IIS环境配置和项目部署

    本人实际工作项目中IIS部署,亲测可用~~ 具体步骤: 1.打开控制面板 2.打开程序和功能 3.打开或关闭Windous功能 然后勾选相关内容: 4.添加应用程序 先打开iis管理器页面(控制面板— ...

  8. 高可用性的负载均衡方案之lvs+keepalived和haproxy+heartbeat区别

    高可用性的负载均衡方案 目前使用比较多的就是标题中提到的这两者,其实lvs和haproxy都是实现的负载均衡的作用,keepalived和heartbeat都是提高高可用性的,避免单点故障.那么他们为 ...

  9. Jedis路由key的算法剥离

    在Redis集群中,会有很多个分片,如果此时利用Jedis来操作此Redis集群,那么他会把数据路由到不到的分片上.而且如果动态的往集群中增加分片,也不会影响Jedis的功能.究竟是怎么做到的呢? 由 ...

  10. git 工作区管理

    git工作区 git的工作区就是电脑中能看到的目录,比如我的learning文件夹就是一个工作区 版本库暂存区 工作去有一个隐藏的目录.git,这个不算工作区,而是git的版本库 git的版本库中存了 ...