将 Enterprise Archive (EAR) 文件部署到 IBM Websphere Application Server (WAS) 7 时出现 ADMA0207E 错误,但将相同的 EAR 部署到 WAS 6 时却没有。
错误:
servlet I com.ibm.ws.webcontainer.servlet.ServletWrapper init SRVE0242I: [isclite] [/ibm/console] [/secure/javascriptToSession.jsp]: Initialization successful.
SystemErr R com.ibm.websphere.management.application.client.AppDeploymentException: ADMA0207E: EE 5 module foo-web.war in ear file contains unsupported xmi format bindings file.
SystemErr R at com.ibm.ws.management.application.client.AppInstallHelper.checkIfEE5ModulesContainXMIBindings(AppInstallHelper.java:1066)
SystemErr R at com.ibm.ws.management.application.client.AppInstallHelper.checkForEE5Restrictions(AppInstallHelper.java:324)
SystemErr R at com.ibm.ws.management.application.client.AppInstallHelper.getAppDeploymentInfoGenericRead(AppInstallHelper.java:469)
SystemErr R at com.ibm.ws.management.application.client.DefaultBindingHelper.getDefaultBindingInfo(DefaultBindingHelper.java:101)
SystemErr R at com.ibm.ws.management.application.client.DefaultBindingHelper.getDefaultBindingInfo(DefaultBindingHelper.java:91)
SystemErr R at com.ibm.ws.console.appmanagement.action.UploadAction.formUpload(UploadAction.java:491)
SystemErr R at com.ibm.ws.console.appmanagement.action.UploadAction.execute(UploadAction.java:156)
我想在 WAS 7 上部署这个 EAR。关于克服这个错误的任何见解?