Worklight error: File not found: /css/images/wl_app_warning.png

瘦欲@ 提交于 2019-12-25 17:27:59

问题


I have found an issue with my worklight project. What i have done here is as follows:

  1. I have a project which was built and deployed without any issues.
  2. I wanted to edit most of the images and re-arrange the whole images folder structure.
  3. So I deleted all the contents in the images folder completely from eclipse so that i can save each new image to the newly created folders
  4. Now, i created new folders in images folder and saved one image to one of the newly created folders.
  5. I tried to run the application on mobileFirst development server and started getting the error message:

"SRVE0190E: File not found: /css/images/wl_app_warning.png"

  1. We did not even have a folder named images in css folder before. This is what happened for me and does this give any clue for the issue?? Please help.

回答1:


In my project I created an "images" folder with an image:

I then used it in the HTML:

<img src="css/images/wl_app_warning.png"/>


No errors and the image is displayed...




回答2:


This is a defect in the admin service, and is tracked as APAR PI51055, which you can find more information about here:

http://www-01.ibm.com/support/docview.wss?uid=swg1PI51055

The issue has been corrected in iFix IF20151103-1015 and later builds.

If you have paid support, you will be able to download an iFix build from IBM Fix Central sometime soon that includes this fix - it is not out there for download right now, but I expect it will be within a couple of weeks. If you need the fix before it appears on IBM Fix Central, you can open a PMR and ask the support team to provide it. If you are using the free Developer Edition from the Eclipse Marketplace, I expect the fix will appear there soon also, and you can use the Eclipse software update function to get it, but I am not sure how frequently the Developer Edition repository is updated.



来源:https://stackoverflow.com/questions/33095957/worklight-error-file-not-found-css-images-wl-app-warning-png

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!