No mapping found for HTTP request with URI [/CRMCRMCRM/CSS/BOOTSTRAP.MIN.CSS] in Dispatcherservlet with name ' Springmvc '

Source: Internet
Author: User

Put the bug on first.

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 DispatcherS Ervlet 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 Dispatch Erservlet 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 Disp Atcherservlet 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 DispatcherS Ervlet 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 DISPATCHERSERVL ET with name ' SPRINGMVC '
DEBUG [HTTP-BIO-8080-EXEC-10]-successfully completed request

Project without error, SSM build is also successful, JSP and Css,js directory location is also right, anyway is not access to static resources.

After the arduous search. Finally found the wrong

The reason is here in Web. xml

Here I use/intercept and intercept all requests except JSP, apparently blocking the static resources.

Solution: It's OK to switch to *.action.

No mapping found for HTTP request with URI [/CRMCRMCRM/CSS/BOOTSTRAP.MIN.CSS] in Dispatcherservlet with name ' Springmvc '

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.