Mobilefirst从管理服务同步应用程序失败

时间:2015-03-28 22:44:06

标签: ibm-mobilefirst mobilefirst-server mobilefirst-studio

我在MobileFirst 7.0中创建了一个新项目,但是当我将其部署到MobileFirst Development服务器时,它会给我以下错误:

[ERROR   ] FWLSE0081E: Failed synchronizing application from the administration service. This prevents the application from running. The reason is No constructor has a @ConstructorProperties for this set of items: [adapters, applications, configProfiles, transactionId]. Please restart the application server after taking the proper corrective actions. [project MyProject]
No constructor has a @ConstructorProperties for this set of items: [adapters, applications, configProfiles, transactionId]
[ERROR   ] Synchronize operation failed.
No constructor has a @ConstructorProperties for this set of items: [adapters, applications, configProfiles, transactionId]
[ERROR   ] Result: MyProject: worklight///10.80.111.52: Runtime synchronization failed
[ERROR   ] MyProject: worklight///10.80.111.52: 2015-03-28T22:36:55.555Z: No constructor has a @ConstructorProperties for this set of items: [adapters, applications, configProfiles, transactionId]
[ERROR   ] FWLST0003E: ========= Failed starting project /MyProject [project MyProject]
java.lang.reflect.InvocationTargetException
[ERROR   ] null
java.lang.reflect.InvocationTargetException
[ERROR   ] MyProject: worklight///10.80.111.52: 2015-03-28T22:36:55.774Z: null
[ERROR   ] RuntimeMBeanCallable.call() exception
java.lang.reflect.UndeclaredThrowableException
[ERROR   ] SRVE0315E: An exception occurred: com.ibm.ws.webcontainer.webapp.WebAppErrorReport: javax.servlet.ServletException: Worklight Console initialization failed.Logged Exception: java.io.InvalidObjectException: No constructor has a @ConstructorProperties for this set of items: [adapters, applications, configProfiles, transactionId]
    at com.worklight.core.auth.impl.AuthenticationFilter.verifyServletInitialized(AuthenticationFilter.java:522)
    at com.worklight.core.auth.impl.AuthenticationFilter.doFilter(AuthenticationFilter.java:134)
    at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:192)
    at [internal classes]
Caused by: javax.servlet.ServletException: Worklight Console initialization failed.Logged Exception: java.io.InvalidObjectException: No constructor has a @ConstructorProperties for this set of items: [adapters, applications, configProfiles, transactionId]
    ... 5 more

我使用的是Windows 7,Eclipse Luna 4.4.1和JRE 7.

2 个答案:

答案 0 :(得分:1)

根据我的评论,我最初的想法是安装变坏了 重新安装似乎解决了这个问题,因此这就是答案。

答案 1 :(得分:0)

将项目从v6.3升级到v7.0时,我也遇到过这种情况。我已经使用MFP Studio安装来构建其他项目,所以我确信安装没问题。

我创建了第二个Eclipse Workspace。我将项目添加到新工作区,并且能够在新工作区中构建没有问题。

如果切换到新工作区,则可以在不重新安装MFP的情况下解决此问题。