Sunday, August 24, 2014

How To Solve CHKJ3000E: WAR Validation Failed

Problem - You would get error similar to below while using Eclipse.

:org.eclipse.jst.j2ee.commonarchivecore.internal.exception.DeploymentDescriptorLoadException: WEB-INF/web.xm

You may face error in a Eclipse Project  CHKJ3000E: WAR Validation Failed:

How to Solve it?

  1. Assuming that you have Mavenized your application, run the following command on command prompt in the project directory.  This is not a compulsory step but regenerates the manifest file.

del /S *.MF && mvn eclipse:clean eclipse:eclipse -U

  1. Once the above step is completed in the workspace right click on the web project and click on Validate.

No comments:

Post a Comment