Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 3530

unable to get the util file from other util project, http status 404 not found

$
0
0

Hi All,

 

we have two projects one is util project consist of reuse js files,

second is ui5 project, here we call the util files by using destination, which is declared in hana cloud portal.

 

in ui5 project neo-app.json is

{

"welcomeFile": "/webapp/index.html",

  "authenticationMethod": "none",

  "sendWelcomeFileRedirect": true,

"routes": [

    {

"path": "/sap/opu/odata//UTIL/utils/",

        "target": {

        "type": "destination",

        "name": "pputil"

        },

        "description": "Common utils files"

    },

]

}

 

manifest.json (calling util file)

"resources": {

        "js": [

            {

                 "uri": "/sap/opu/odata/UTIL/utils/js/Common.js"

            }

        ]   

      },

 

error in console: (in the path webapp is showing, if we remove webapp the file is opening in the browser)

  1. Request URL:https://pomat-<tenant>.dispatcher.hana.ondemand.com/webapp/sap/opu/odata/UTIL/utils/js/Common.js
  2. Request Method:GET
  3. Status Code:404 Not Found


How to solve this issue? Please help me.



Thanks,

Preethi


Viewing all articles
Browse latest Browse all 3530

Trending Articles