on 02-18-2015 8:45 AM
Hello,
I am trying to implement this example for the ValueHelpDialog. When loading the library sap.ui.comp I get the following error:
failed to preload 'sap.ui.fl.library-preload': Resource could not be found! - sap.ui.ModuleSystem
Uncaught Error: found in negative cache: 'sap/ui/comp/library.js' from resources/sap/ui/comp/library- reload.json/sap/ui/comp/library.js: Error: failed to load 'sap/ui/fl/library.js' from resources/sap/ui/fl/library.js: 404 - Resource could not be found!
sap.ui.fl is missing from the included libraries in the project and is required by sap.ui.comp.
Here is the Index.html
<script src="resources/sap-ui-core.js"
id="sap-ui-bootstrap"
data-sap-ui-libs="sap.m, sap.ui.layout, sap.ui.comp"
data-sap-ui-theme="sap_bluecrystal">
</script>
Does anybody have an idea on how to solve it?
Thank you for your help!
Best regards,
Laurentiu
Hi Laurentiu,
You need to add the library sap.ui.fl to data-sap-ui-libs in your index.html.
Also i think there are no controls in sap.ui.fl - SAPUI5 SDK - Demo Kit
Hope this helps.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Kedar,
Thank you for the reply.
The problem is that the library sap.ui.comp is requiring sap.ui.fl which is not in the UI toolkit.
jQuery.sap.declare("sap.ui.comp.library");jQuery.sap.require("sap.ui.core.Core");jQuery.sap.require("sap.ui.core.library");jQuery.sap.require("sap.ui.fl.library");..........
Please see bellow:
I also tried to reinstall everything, but I still get the same outcome.
Do you know correct this?
Regards,
Laurentiu
I managed to solve the issue.
The libraries that get downloaded with Eclipse from SAP Development Tools for Eclipse - Luna Software Repository are not correct. I downloaded the sdk from the SAP download center and now everything is working correctly.
Regards,
Laurentiu
Hi,
Please mark this Discussion with a Correct Answer and Helpful Answer where appropriate. See How to close a discussion and why Even if you discovered the solution without any outside contributions, it helps others to understand what the solution turned out to be.
Regards,
Chandra (Moderator)
Thanks Merla . Now issue fixed.
Regards,
Sathish J
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
77 | |
8 | |
7 | |
6 | |
6 | |
6 | |
6 | |
6 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.