当前位置:网站首页>Idea failed to load resource: the server responded with a status of 404 (not found)
Idea failed to load resource: the server responded with a status of 404 (not found)
2022-07-24 03:24:00 【Cui baopao - Cat】
Use today idea I found the page when writing the project css Document and js The files are not loaded , Press F12 Check the console for errors

First check idea Whether there is an error in the project configuration path
You can see that the path is correct , Then check whether the browser can css Document and js File read out

You can see that although you can find this file , But the contents of the file are empty , This shows that this document is not what we put in idea Medium css file , It is generated automatically according to the path , explain idea Scanning static resources (js,css,images) Something went wrong when
Check springmvc Is there any code about scanning static resources in , Found no

Add code , Problem solving
<!-- Static resource processing css js imgs -->
<mvc:resources mapping="/sources/**" location="/sources/"/>

边栏推荐
- Insist on accompanying study
- Exttestngireporterlistener all codes
- Genesis public chain: Tamp the foundation of Web 3.0 development
- C. Minimum Ties-Educational Codeforces Round 104 (Rated for Div. 2)
- The function of SIP account - tell you what is SIP line
- JMeter interview script
- Skywalking distributed system application performance monitoring tool - upper
- JS Array isaarray () Type of
- The first edition of Niuke brush question series (automorphic number, return the number of prime numbers less than N, and the first character only appears once)
- [interpolation expression of applet, rendering judgment, binding events and sharing]
猜你喜欢

Application of motion capture in automatic control field

C动态内存管理详解

Babylon.js cool canvas background animation JS special effects

IO流分类整理

数据湖:Apache Hudi简介

JS 數組 isAarray() typeof

Write code, and multiple characters move from both ends to converge in the middle

A series of problems of dp+ backtracking segmentation palindrome string

Ue5 split screen (small map) solution

Cannot resolve symbol 'override' of idea clone‘
随机推荐
All codes of selenium
21st day of written test mandatory training
MySQL learning - MySQL software installation and environment configuration (Windows) details!
JS 数组 isAarray() typeof
Advantages, disadvantages and summary of sequence list and linked list
The new idea 2022.2 was officially released, and the new features are nice
What is the experience of writing concurrent tool classes (semaphore, cyclicbarrier, countdownlatch) by yourself in line 30?
Simulink代码生成: 可变子系统及其代码
CMT 注册——Google Scholar Id,Semantic Scholar Id,和 DBLP Id
C文件操作详解
The first edition of Niuke brush question series (automorphic number, return the number of prime numbers less than N, and the first character only appears once)
Water topic: connect rainwater
It's solved with a cry
openEuler 资源利用率提升之道 01:概论
Do you know how to do interface testing well?
C dynamic memory management details
二分查找
Ue5 split screen (small map) solution
You must know the ten vulnerabilities of invalid access control
MySQL sub database and sub table and its smooth expansion scheme