Reputation: 13585
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
Upvotes: 0
Views: 982
Reputation: 33956
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.
Upvotes: 2