Mobilefirst 从管理服务同步应用程序失败
Mobilefirst Failed synchronizing application from the administration service
我在 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。
根据我的评论,我最初的想法是安装出现问题。
重新安装似乎已经解决了问题,因此这就是答案。
我在将项目从v6.3 升级到v7.0 时也遇到了这个问题。我已经使用我的 MFP Studio 安装来构建其他项目,所以我确信安装没问题。
我创建了第二个 Eclipse 工作区。我将项目添加到新工作区,并且能够在新工作区中顺利构建。
如果您切换到新的工作区,则无需重新安装 MFP 即可解决此问题。
我在 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。
根据我的评论,我最初的想法是安装出现问题。
重新安装似乎已经解决了问题,因此这就是答案。
我在将项目从v6.3 升级到v7.0 时也遇到了这个问题。我已经使用我的 MFP Studio 安装来构建其他项目,所以我确信安装没问题。
我创建了第二个 Eclipse 工作区。我将项目添加到新工作区,并且能够在新工作区中顺利构建。
如果您切换到新的工作区,则无需重新安装 MFP 即可解决此问题。