Worklight Development Server does not start

后端 未结 3 482
轻奢々
轻奢々 2020-12-11 12:38

I am trying to follow the Getting Started section for Worklight on developerWorks. I have installed Worklight Studio 6.1 Consumer Edition (instead of Development Edition) in

相关标签:
3条回答
  • 2020-12-11 13:09

    It turns out the problem was the Java JDK I was using to run Eclipse and not the version of Kepler. I was using the IBM Java 7 JDK to run Eclipse but had configured the Oracle Java 7 JDK for running any apps in Eclipse. I had been told to use the Oracle JDK but thought that was only for running the apps. Once I switched to running Eclipse using the Oracle JDK, my apps and the server started. So, Worklight Studio v6.1 seems to work fine with Eclipse Kepler SR2 as long as you use the Oracle JDK.

    0 讨论(0)
  • 2020-12-11 13:09

    Had the same problem , here's the steps I followed to fix it. make sure the system is using jre 7, I uninstalled jdk 1.8 and jre 8. make sure you run eclipse using jre 7. I'm running eclipse EE 4.4.0. in eclipse go to>>windows>>preferences>> - java>>installed JREs>>: Add JRE 7 dir then select it - java>>compiler: java compliance level 1.7

    The most important step after doing what's stated above is to switch to a new workspace. File>> switch workspace>> Other: type the dir of the new workspace.

    After eclipse start, just run the server. If you import projects from the old workspace later, make sure you clean and build the project after moving it.

    0 讨论(0)
  • 2020-12-11 13:16

    This should work out of the box, since Worklight Studio itself generates .war files.

    Make sure you are using Eclipse Jave EE 4.3.1 ("Kepler" SR1)
    Use it with a new workspace
    And a fresh installation of Worklight

    0 讨论(0)
提交回复
热议问题