将WAR文件上传到websphere 8.5会出现错误" EAR文件可能已损坏和/或不完整。"和"未能标记"

时间:2017-01-09 16:10:10

标签: java websphere websphere-8

将WAR文件上传到websphere 8.5会出现以下错误,可能导致此错误以及应采取的操作?

The EAR file could be corrupt and/or incomplete. Make sure that the application is at a compatible Java(TM) Platform, Enterprise Edition (Java EE) level for the current version of WebSphere(R) Application Server.

com.ibm.websphere.management.application.client.AppDeploymentException: org.eclipse.jst.j2ee.commonarchivecore.internal.exception.SaveFailureException: Failed to mark [ WEB-INF/ibm-web-bnd.xmi ] in [ xyz.war ] [Root exception is org.eclipse.jst.j2ee.commonarchivecore.internal.exception.SaveFailureException: Failed to mark [ WEB-INF/ibm-web-bnd.xmi ] in [ xyz.war ]] 

1 个答案:

答案 0 :(得分:0)

由于xmi文件中的语法错误,可能会发生这种情况。在这种情况下,属性中缺少引号,导致错误。