hello,
I hope this is the right
thread to post this question:
I created a project in Eclipse 3.3, and when I try to build the project, I get the error:
" CHKJ3000E: WAR Validation error...."
I searched the internet and i found one solution: clear the cache and delete the web.xml from the
eclipse\plugins\org.eclipse.tomcat_4.1.230.v20070531\webapps\ROOT\WEB-INF\web.xml, and should work.
I have done that, but the error is still there.
Did anyone have the same problem in the past?
The entire error message from the log file:
!ENTRY org.eclipse.wst.validation 4 0 2007-08-28 17:51:13.468
!MESSAGE
*** ERROR ***: Tue Aug 28 17:51:13 CEST 2007 org.eclipse.wst.validation.internal.core.ValidationException: CHKJ3000E: WAR Validation Failed: org.eclipse.jst.j2ee.commonarchivecore.internal.exception.DeploymentDescriptorLoadException: WEB-INF/web.xml
at org.eclipse.jst.j2ee.model.internal.validation.WarValidator.validateInJob(WarValidator.java:343)
at org.eclipse.jst.j2ee.internal.web.validation.UIWarValidator.validateInJob(UIWarValidator.java:111)
at org.eclipse.wst.validation.internal.operations.ValidatorJob.run(ValidatorJob.java:75)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
!ENTRY org.eclipse.wst.validation 4 0 2007-08-28 17:51:13.468
!MESSAGE
*** ERROR ***: Tue Aug 28 17:51:13 CEST 2007 org.eclipse.jst.j2ee.commonarchivecore.internal.exception.DeploymentDescriptorLoadException: WEB-INF/web.xml
Stack trace of nested exception:
java.lang.ClassCastException: org.eclipse.jst.javaee.web.internal.impl.WebAppDeploymentDescriptorImpl cannot be cast to org.eclipse.jst.j2ee.webapplication.WebApp
at org.eclipse.jst.j2ee.commonarchivecore.internal.strategy.War22ImportStrategyImpl.loadDeploymentDescriptor(War22ImportStrategyImpl.java:87)
at org.eclipse.jst.j2ee.commonarchivecore.internal.strategy.War22ImportStrategyImpl.importMetaData(War22ImportStrategyImpl.java:81)
at org.eclipse.jst.j2ee.commonarchivecore.internal.impl.WARFileImpl.getDeploymentDescriptor(WARFileImpl.java:145)
at org.eclipse.jst.j2ee.model.internal.validation.WarValidator.validateInJob(WarValidator.java:328)
at org.eclipse.jst.j2ee.internal.web.validation.UIWarValidator.validateInJob(UIWarValidator.java:111)
at org.eclipse.wst.validation.internal.operations.ValidatorJob.run(ValidatorJob.java:75)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
!SESSION 2007-08-29 14:03:19.034 -----------------------------------------------
eclipse.buildId=I20070625-1500
java.version=1.6.0_02
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=ro_RO
Command-line arguments: -os win32 -ws win32 -arch x86
Thank you