我已經安裝了Eclipse 4.2.2和Worklight 6.0.0。當我創建,建立所有和部署,並粘貼控制檯中找到的URL(http:// my.ip.address:10080/SimpleProject /)時,它會失敗,並顯示「錯誤404:SRVE0190E:文件未找到:/「。項目和MobileBrowserSimulator都是如此。Worklight部署的應用程序無法運行「錯誤404:SRVE0190E:文件未找到:/」
控制檯輸出:
[AUDIT ] CWWKE0001I: The server worklight has been launched.
[AUDIT ] CWWKZ0058I: Monitoring dropins for applications.
[AUDIT ] CWWKT0016I: Web application available (default_host): http://9.80.52.215:10080/SimpleProject/
[AUDIT ] CWWKZ0001I: Application SimpleProject started in 9.837 seconds.
[AUDIT ] CWWKT0016I: Web application available (default_host): http://9.80.52.215:10080/_MobileBrowserSimulator/
環境:
視窗7 64位。
的Eclipse 4.2.2構建20130225-0426 工作燈6.0.0.20130926-1933
找到了答案:的原因是一個不完整的URL。我發現我能夠從項目「Start Worklight Console」的上下文菜單中啓動Worklight Console。然後,我可以從運行控制檯啓動應用程序。
調查URL,我發現控制檯日誌中的URL不夠用。你必須追加/控制檯/到URL:
http:/9.80.52.215:10080/SimpleProject/console/
http:/<my.ip.address>/<myproject>/console