0
在部署WAR文件到WebSphere Application Server我收到以下錯誤:遷移從Tomcat 6.0到WebSphere 8.5
1. 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.
2. org.eclipse.jst.j2ee.commonarchivecore.internal.exception.DeploymentDescriptorLoadException: WEB-INF/web.xml
我知道有一些問題,我目前的web.xml,但我怎麼能找到問題在修復之前。
Note: Exporting the WAR file from Eclipse
嗯。你從eclipse導出WAR文件,但是你得到的錯誤意味着你正在嘗試安裝一個'EAR'。顯然這不會起作用,因爲WebSphere似乎期待着一個'EAR'文件。 – Isaac