简体   繁体   中英

Migrating from Tomcat 6.0 to WebSphere 8.5

While deploying WAR file to websphere application server I am getting following error:

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

I understand there are some issues with my current web.xml but how could I find the issues before fixing it.

Note: Exporting the WAR file from Eclipse

That bad DeploymentDescriptorLoadException message means that you likely have something wrong with your web.xml. Check PROFILE_HOME/logs/SERVER/SystemOut.log (if deploying from the console) or PROFILE_HOME/logs/wsadmin.traceout (if deploying from wsadmin). One of those logs should have an exception stack trace with some "Caused by" that contain the real problem.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM