自从我将项目从worklight 6.1合并到6.2后,我在部署应用程序时在Eclipse Worklight Development Server日志中出现以下错误:
[ERROR ] RuntimeMBeanCallable.call() exception
java.lang.reflect.UndeclaredThrowableException
[INFO ] Result: PrivateBanker: worklight///172.17.22.111: Rollback
[INFO ] SRVE0242I: [PrivateBanker] [/PrivateBanker] [PreviewServlet]: Initialization successful.
在我的worklight控制台中,我找到以下内容:
[2014-07-08 11:02:30] Starting build process: application 'PrivateBanker', all environments
[2014-07-08 11:02:50] Project 'PrivateBankerPrivateBankerAndroid' was imported.
[2014-07-08 11:02:50] Application 'PrivateBanker' with all environments build finished.
[2014-07-08 11:02:50] Deploying application 'PrivateBanker' with all environments to Worklight Server...
[2014-07-08 11:03:16] Failed to deploy the application to Worklight server: UndeclaredThrowableException
有谁知道这意味着什么以及后果是什么? 乍一看,应用程序看起来正确部署,因为我可以在浏览器模拟器中访问它。
我尝试通过复制我的html和js文件从头开始重新创建我的项目,但错误仍然存在。我删除Android环境时不会出现错误。
我不知道它是否相关,但我也注意到日志中有以下警告。
[WARNING ] CWNEN0070W: The javax.ws.rs.QueryParam annotation class will not be recognized because it was loaded from the null location rather than from a product class loader.
[WARNING ] CWNEN0070W: The javax.ws.rs.CookieParam annotation class will not be recognized because it was loaded from the null location rather than from a product class loader.
[WARNING ] CWNEN0070W: The javax.ws.rs.PathParam annotation class will not be recognized because it was loaded from the null location rather than from a product class loader.
[WARNING ] CWNEN0070W: The javax.ws.rs.HeaderParam annotation class will not be recognized because it was loaded from the null location rather than from a product class loader.
[WARNING ] CWNEN0070W: The javax.ws.rs.core.Context annotation class will not be recognized because it was loaded from the null location rather than from a product class loader.
[WARNING ] CWNEN0070W: The javax.ws.rs.MatrixParam annotation class will not be recognized because it was loaded from the null location rather than from a product class loader.
非常感谢任何帮助。
答案 0 :(得分:1)
根据评论,这是Worklight 6.2中的一个已知问题;如果您是IBM Worklight客户或业务合作伙伴,则可以打开PMR(带有此问题的链接),以便在修复此问题后,将向您提供iFix。