on 04-26-2016 1:47 PM
Hello Everyone,
We are testing a standard fiori app on local Sandbox server via eclipse.
It gives the below error :
Uncaught Error: failed to load 'sap/ushell/services/ClientSideTargetResolution.js' from ../../../../../resources/sap/ushell/services/ClientSideTargetResolution-dbg.js: Error: failed to load 'sap/ui/generic/app/navigation/service/SelectionVariant.js' from ../../../../../resources/sap/ui/generic/app/navigation/service/SelectionVariant.js: 404 - Not Found
Has anyone faced similar issue?
Regards,
Snehal
Hi,
When i trying to open my app across the sandbox launchpad I've the same issue :
-> sap-ui-core.js:174 Uncaught Error: failed to load 'sap/ushell/services/ClientSideTargetResolution.js'
SAPUI5 Eclipse Plugin to version 1.36.9
Please i need some help !
Thanks.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi all,
I am also facing the issue described by you.
I would like to test my Fiori app in the sandbox environment of the Fiori Launchpad. I have configured the app and the sandbox environment in Eclipse Mars (4.5.2), based on SAPUI5 v1.38. The configuration is performed according to the official SAP documentation available at Local Sandbox Environment for the SAP Fiori Launchpad - User Interface Add-On for SAP NetWeaver - SA....
I can successfully open the Fiori Launchpad in the sandbox. The tiles of the demo apps are correctly displayed. However, opening the demo apps does not work as I receive an error "http://localhost:8080/<MyProjectName>/resources/sap/ui/generic/app/navigation/service/SelectionVariant.js 404 (Not Found)". I additionally receive an error "Failed to load Javascript resource: sap/fiori/core-ext-light.js -".
The errors are also thrown for my custom Fiori app when trying to start the latter from the Launchpad.
Why are the aforementioned files missing on the web server? Is there a way to deploy them to the server?
Thanks for your help and best regards,
Markus
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
I fixed my problem removing the eclipse plugin from my project and adding these dependencies to pom.xml:
<dependency>
<groupId>com.sap.ushell</groupId>
<artifactId>ushell-lib</artifactId>
<classifier>testresources</classifier>
<version>1.36.13</version>
</dependency>
<dependency>
<groupId>com.sap.ushell</groupId>
<artifactId>ushell-lib</artifactId>
<version>1.36.13</version>
</dependency>
<dependency>
<groupId>com.sap.uxap</groupId>
<artifactId>uxap-uilib</artifactId>
<version>1.36.13</version>
</dependency>
<dependency>
<groupId>com.sap.ca</groupId>
<artifactId>scfld.md</artifactId>
<version>1.36.5</version>
</dependency>
Kind regards,
Diego.
Hi,
Yes, but don't forget to add the sapui5 dependencies on the pom.xml
Follow my pom with the dependencies .
<properties>
<sapui5.version>1.36.13</sapui5.version>
</properties>
<dependency>
<groupId>com.sap.ushell</groupId>
<artifactId>ushell-lib</artifactId>
<classifier>testresources</classifier>
<version>${sapui5.version}</version>
</dependency>
<dependency>
<groupId>com.sap.ushell</groupId>
<artifactId>ushell-lib</artifactId>
<version>${sapui5.version}</version>
</dependency>
<dependency>
<groupId>com.sap.uxap</groupId>
<artifactId>uxap-uilib</artifactId>
<version>${sapui5.version}</version>
</dependency>
<dependency>
<groupId>com.sap.ca</groupId>
<artifactId>scfld.md</artifactId>
<version>1.36.5</version>
</dependency>
<dependency>
<groupId>com.sap.ui5</groupId>
<artifactId>core</artifactId>
<version>${sapui5.version}</version>
</dependency>
<dependency>
<groupId>com.sap.ui5</groupId>
<artifactId>resource</artifactId>
<version>${sapui5.version}</version>
</dependency>
<dependency>
<groupId>com.sap.ui5</groupId>
<artifactId>mobile</artifactId>
<version>${sapui5.version}</version>
</dependency>
<dependency>
<groupId>com.sap.ui5</groupId>
<artifactId>mobile-ext</artifactId>
<version>${sapui5.version}</version>
</dependency>
<dependency>
<groupId>com.sap.ui5</groupId>
<artifactId>layout</artifactId>
<version>${sapui5.version}</version>
</dependency>
<dependency>
<groupId>com.sap.ui5</groupId>
<artifactId>table</artifactId>
<version>${sapui5.version}</version>
</dependency>
<dependency>
<groupId>com.sap.ui5</groupId>
<artifactId>comp</artifactId>
<version>${sapui5.version}</version>
</dependency>
Regards,
Diego.
Hi,
There is an update for SAPUI5 Eclipse Plugin to version 1.36.9,
Can you try this update?
Regards,
Diego.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Snehal,
Is it working for you now. Same issue with me. Need help.
Regards
Swaraj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I solved the problem with a workaround using the 'Grunt Middleware function to Proxy Requests' plugin of Grunt. https://www.npmjs.com/package/grunt-middleware-proxy
I copied the SelectionVariant.js file from last ui5, then I created a proxy to get SelectionVariant.js from my local files.
Regards,
Diego.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I have de same issue since I updated SAPUI5 to 1.36.9.
It is a bug of sapui5?.
Have you solved it?.
Regards,
Francisco.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Snehal,
I am facing the same issue since I updated SAPUI5 to 1.36.7,
Have you solved it?
Regards,
Diego.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.