When you create a maven project in idea and use Vue to modify the content in HTML, you find that the HTML page is not modified successfully. F12 opens the background and displays an error: failed to load resource: the server responded with a status of 404 (not found). The browser does not find Vue JS file
reason:
(1) maven project to introduce vue.js file after the project needs to be packaged, double-click the package button.
(2) Since the vue.js file is stored in a static resource, check whether the project’s configuration file springMVC.xml opens access to the static resource.
After completing the above steps, the browser F12 background shows that vue.js was successfully fetched and the page content was successfully modified!
Read More:
- How to Fix Failed to load resource: the server responded with a status of 404()
- [Solved] Failed to load response data: no data found for resource with given identifier
- [Solved] ssh secure shell: server responded algorithm negotiation failed
- How to Solve Error: java.io.IOException: Resource [classpath:shiro.ini] could not be found.
- Flutter Error: dump failed because resource AndroidManifest.xml not found [How to Solve]
- Swagger-ui.html Open Error: There was an unexpected error (type=Not Found, status=404)
- error: resource android:attr/lStar not found [How to Solve]
- error: resource android:attr/lStar not found [How to Solve]
- [Solved] AAPT: error: resource android:attr/lStar not found
- error: resource android:attr/lStar not found [Pefect Solution]
- Huawei kafka Authentication error: Server not found in Kerberos database (7) – LOOKING_UP_SERVER
- [Solved] Triton-inference-server Start Error: Internal – failed to load all models
- [Solved] Flutter – AAPT: error: resource android:attr/dialogCornerRadius not found.
- error: resource android:attr/lStar not found? [How to Solve]
- [Solved] Compile Error: AAPT: error: resource android:attr/lStar not found
- Error starting vue project these dependencies were not found:create in ./src/router/modules/md.js
- Postgis Install Error: could not load library “C:\……“:The specified module could not be found.
- [Solved] Vue3 Error: export ‘createRouter‘ was not found in ‘vue-router‘
- Solution: from. Import ft2font importerror: DLL load failed: the specified module cannot be found