IBM Worklight 6.1 - Content of HTML file not displayed

坚强是说给别人听的谎言 提交于 2019-12-04 07:32:36

问题


I have recently downloaded the IBM Worklight Developer edition from the Eclipse Marketplace.

In order to deploy the app when I right-click on the HTML file and choose Run As > Run On Server. It then asks me to select Localhost which is running on my machine. When the index.html file is displayed in the window, a blank page comes and the contents of the body of my HTML file are not visible.

I am unable to build and deploy and run any project in IBM Worklight.


回答1:


It is not working for you, because you are doing it wrong...
Read the IBM Worklight Getting Started training materials before jumping headlong into Worklight...

After creating a new Worklight project and application, you need to:

  1. Right-click the Worklight application
  2. And choose Run As > Run on Worklight Development Server
  3. Then you right-click on the Worklight project
  4. And choose Open Worklight Console

Now you can preview your application. Read the training materials.




回答2:


Try this also.

After creating a new Worklight project and application, you need to:

  1. Right-click the Worklight application

    And choose Run As > Build All Environments.

    Then And choose Run As > Preview

This will open your application in the browser

Hope this helps



来源:https://stackoverflow.com/questions/21030629/ibm-worklight-6-1-content-of-html-file-not-displayed

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