我在这个版本的eclipse上尝试使用Worklight 6.2:
版本:Luna Release(4.4.0) 构建ID:20140612-0600
eclipse是干净,干净的工作区,刚刚安装了Worklight 6.2 - 6.2.0.00-20140719-1643。
当我构建用于部署到开发服务器的项目时,我收到错误:
Failed to deploy application 'MyApp' to Worklight Server: No MBean found for Worklight project 'SiriusProject'. Possibly the Worklight
runtime web application for Worklight project 'SiriusProject' is not running. If it is running, use JConsole to inspect the available
MBeans.
如果我尝试部署我的适配器,我会收到此错误:
Adapter deployment failed: No MBean found for Worklight project 'MyProject'. Possibly the Worklight runtime web application for Worklight
project 'MyProject' is not running. If it is running, use JConsole to inspect the available MBeans.
在控制台输出的早期,我看到了
A preview contributor threw an exception while updating the URL
NullPointerException. check logs.
但我不知道它要求我检查哪些日志。
答案 0 :(得分:2)
查看以下任何建议是否有帮助:How to Fix No MBean found for Worklight project?
前:
答案 1 :(得分:1)
答案是使用eclipse Kepler而不是Luna。
答案 2 :(得分:1)
删除工作区中的WorklightServerConfig文件夹并重建您的应用程序。
另一个选择是切换工作区。