Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
550 views
in Technique[技术] by (71.8m points)

html - Failed to load a resource with error net::ERR_ABORTED 404 (Not Found)

I'm getting the above error when running my index.html that seems not to locate the some dependant source files. Here is my file structure:

-**web-client** (*parent folder*)
       -**js** (*child folder*)
              simple.helper.js (*inside js folder*)
       - **model** (*child folder*)
              teamModel.js (*inside model folder*)
              mathModel.js (*inside model folder*)
       - **view** (*child folder*)
              view.js (*inside view folder*)
       - **views** (*child folder*)
              index.html (*inside views folder*)
       - **controller** (*child folder*)
              mainController.js  (*inside controller folder*)

index.html

<!DOCTYPE html>
<html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
    <title>WebApp</title>
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/bulma/0.6.2/css/bulma.min.css">
    <link rel="stylesheet" type="text/css" href="css/bulma-min.css">

    <script src="js/simple-helper.js"></script>
    <script src="model/teamModel.js"></script>
    <script src="model/mathModel.js"></script>
    <script src="web-client/view/teamView.js"></script>
    <script src="/mathServer/view/TalView.js"></script>
    <script src="/web-client/controller/mainController.js"></script>
    
   <script>
    

Errors

http://127.0.0.1:3002/js/simple-helper.js net::ERR_ABORTED 404 (Not Found)
127.0.0.1/:18 GET http://127.0.0.1:3002/model/teamModel.js net::ERR_ABORTED 404 (Not Found)
127.0.0.1/:19 GET http://127.0.0.1:3002/model/mathModel.js net::ERR_ABORTED 404 (Not Found)
127.0.0.1/:20 GET http://127.0.0.1:3002/web-client/view/teamView.js net::ERR_ABORTED 404 (Not Found)
127.0.0.1/:21 GET http://127.0.0.1:3002/mathServer/view/TalView.js net::ERR_ABORTED 404 (Not Found)
127.0.0.1/:22 GET http://127.0.0.1:3002/web-client/controller/mainController.js net::ERR_ABORTED 404 (Not Found)
question from:https://stackoverflow.com/questions/65863957/failed-to-load-a-resource-with-error-neterr-aborted-404-not-found

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...