Worklight fails to install customization jar

99封情书 提交于 2019-12-25 16:44:19

问题


I have three projects in my workspace, two deploy to the server correctly, the third has just begun to give this error:

Failed to install and start project customization from file <path>MyProj-customization.jar

I've seen this before on other projects and usually it's sufficient to start the server for another project and come back to the one with problems. When that doesn't work the next recipe (found on developer works) is

Exit Eclipse/Worklight Studio

Delete <workspace>/WorkLightServerHome
delete project bin

Start Studio, rebuild

That also doesn't work. Finally there's a further recipe on developer works

When Eclipse is not running, go to:
     1. <path-to-your-Eclipse-folder>\configuration\org.eclipse.osgi
     2. Delete the .bundle* files
     3. Start Eclipse
     4. Build and deploy

Again this does not clear the problem, assuming I've understood step 2 correctly, I found exactly one file whose name is of the form .bundle* and a bundles directory with several sub-directories. I deleted only the .bundlexxx file.

Any other suggestions?

I would have expected that creating a new workspace would fix it, but on this occasion no such luck.


No true solution on this occasion. Normally a new workspace as a method of last resot has always worked in the past. In this case I found no alternative to reinstallation of Worklight.


回答1:


In addition to the attempts you have tried, also try creating a new workspace and import the 'offending' project to it.
If all fails, have a new instance of Eclipse (Java EE, 4.2.2 SR2), re-install Worklight Studio and import the project.



来源:https://stackoverflow.com/questions/16693774/worklight-fails-to-install-customization-jar

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