Warning: file_get_contents(/data/phpspider/zhask/data//catemap/7/neo4j/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Ibm mobilefirst Worklight Development server赢得';开始_Ibm Mobilefirst_Worklight Studio_Worklight Server - Fatal编程技术网

Ibm mobilefirst Worklight Development server赢得';开始

Ibm mobilefirst Worklight Development server赢得';开始,ibm-mobilefirst,worklight-studio,worklight-server,Ibm Mobilefirst,Worklight Studio,Worklight Server,我正在尝试开始使用IBM Worklight进行开发,并遵循以下步骤: 我已下载以下文件: Eclipse Java EE 4.3.1 win 64位(“开普勒”SR1) IBM Worklight 6.1(来自“帮助>Eclipse市场”) 我使用的是Java JDK 7 win 64位 我还将文本文件编码设置为UTF-8 当我尝试启动Worklight Development Server时,收到以下错误: [ERROR ] CWWKZ0005E: The application De

我正在尝试开始使用IBM Worklight进行开发,并遵循以下步骤:

我已下载以下文件:

  • Eclipse Java EE 4.3.1 win 64位(“开普勒”SR1)
  • IBM Worklight 6.1(来自“帮助>Eclipse市场”)
  • 我使用的是Java JDK 7 win 64位

    我还将文本文件编码设置为UTF-8

    当我尝试启动Worklight Development Server时,收到以下错误:

    [ERROR   ] CWWKZ0005E: The application Demo1 cannot start because the server is not configured to handle applications of type war.
    [ERROR   ] CWWKZ0005E: The application _MobileBrowserSimulator cannot start because the server is not configured to handle applications of type war.
    
    以下是整个控制台日志:

    Listening for transport dt_socket at address: 10777
    Launching worklight (WebSphere Application Server 8.5.5.0/wlp-1.0.3.20130524-0951) on Java HotSpot(TM) 64-Bit Server VM, version 1.7.0_60-b19 (en_US)
    [AUDIT   ] CWWKE0001I: The server worklight has been launched.
    [AUDIT   ] CWWKZ0058I: Monitoring dropins for applications. 
    [AUDIT   ] CWWKF0011I: The server worklight is ready to run a smarter planet.
    [ERROR   ] CWWKZ0005E: The application Demo1 cannot start because the server is not configured to handle applications of type war.
    [ERROR   ] CWWKZ0005E: The application _MobileBrowserSimulator cannot start because the server is not configured to handle applications of type war.
    [AUDIT   ] CWWKE0036I: The server worklight stopped after 1 minutes, 0.170 seconds.
    

    同样的问题也在这里得到了解决(),但是我尝试了该用户使用JavaJDK7的解决方案,仍然看到了这个问题。任何帮助都将不胜感激。

    您的第二个错误可能是因为您的机器有两个不同的IP。因此,如果您在服务器中使用“localhost”,Worklight Studio将尝试猜测您的IP,但无法获取错误的IP。我建议您转到“服务器”视图,双击Worklight Development Server,然后在服务器编辑器中,将主机名从“localhost”更改为您要使用的特定IP。

    结果是,我的Eclipse工作区中的MobileBrowserSimulator应用程序出现了问题(可能是文件已损坏)。在重新创建我的Eclipse工作区后,Worklight Server能够启动。

    在您的计算机中安装Java是不够的;在Eclipse>Preferences>Installed jre中设置了什么?好的,我发现我无意中将jre设置为jdk路径。我现在更改了它,将jre 7设置为默认值。我还添加了防火墙规则以允许端口10080。很遗憾,服务器仍无法启动,但现在出现了另一个错误:“未能将应用程序部署到Worklight server:请验证Worklight server是否已启动且可访问。连接到-9.41.68.241:10080失败。(连接到已拒绝)”