先把错误贴上来

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. Shiro 与spring 整合的及简单使用(转)

    文章完全转载自: http://www.cnblogs.com/learnhow/p/5694876.html  ,大家可以点击访问原文链接,个人仅作学习收藏 ! 本篇内容大多总结自张开涛的<跟 ...

  2. charles\mitmproxy\appium的安装与使用

    一.charles安装与激活1.https://www.charlesproxy.com/documentation/installation/下载dmg包安装后要将应用添加到Mac的应用目录中,一般 ...

  3. Log4Net 常见错误提示(不断更新中)

    1. 无法识别log4中的节点,如:<section>等 解决办法:在configrition中直接申明log4 <configSections><!--必须为第一个节点 ...

  4. 关于lower_bound( )和upper_bound( )的常见用法

    lower_bound( )和upper_bound( )都是利用二分查找的方法在一个排好序的数组中进行查找的. 在从小到大的排序数组中, lower_bound( begin,end,num):从数 ...

  5. 菜鸡学C语言之寻根溯源

    题目描述 Mogg最近翻了翻自己家的族谱,想康康祖先是谁.但是族谱因为年久失修太乱了,他现在只整理出来了一系列父子关系,你能帮他找一找直系亲属中辈分最大的一位吗?(即父亲的父亲的父亲……) 输入 第1 ...

  6. 可编程并行接口8255A详解

  7. Android 工程越来越大,运行变卡解决方法

    打开AS的安装目录 android-studio/bin/studio.exe.vmoptions studio64.exe.vmoptions -Xms2048m-Xmx2048m-XX:Reser ...

  8. licode测试

    https://github.com/lynckia/licode/tree/master/test 使用js模拟客户端调用,也可以使用mocha来进行同样的测试

  9. springboot整理

    lombok 添加maven依赖 <dependency> <groupId>org.projectlombok</groupId> <artifactId& ...

  10. win10电脑安装win7

    1.进入BIOS,关闭“Secure Boot”功能,启用传统的“Legacy Boot”.预装WIN8的系统想要更换WIN7系统首先需要修改BIOS设置.BIOS设置方法:F2进入BIOS,选择se ...