从Tomcat 6.0迁移到WebSphere 8.5

时间:2012-11-15 15:01:36

标签: java java-ee tomcat websphere

在将WAR文件部署到websphere应用程序服务器时,我收到以下错误:

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

1 个答案:

答案 0 :(得分:2)

错误的DeploymentDescriptorLoadException消息意味着您的web.xml可能有问题。检查PROFILE_HOME / logs / SERVER / SystemOut.log(如果从控制台部署)或PROFILE_HOME / logs / wsadmin.traceout(如果从wsadmin部署)。其中一个日志应该有一个异常堆栈跟踪,其中包含一些包含真正问题的“由...引起的”。