Worklight Development Server does not start

痞子三分冷 提交于 2019-11-28 13:05:24

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.

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.

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

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