cvc-elt. 1. a: Cannot find the declaration of element project error: cvc-elt 1 a: Cannot find the declaration of element 'project' I am getting this error constantly Whenever I create a project using maven it starts displaying this error I have even mentioned the 'maven-war-plugin' under plugin tag and then updated and refreshed the project as well
How to Resolve cvc-elt. 1. a: Cannot Find the Declaration of Element . . . The error 'cvc-elt 1 a: Cannot find the declaration of element 'project'' typically occurs in XML validation contexts where the parser cannot locate the schema declaration for the specified element This may result from misconfigured XML schema references or missing schema declarations
Eclipse pom. xml error Downloading external resources is disabled When hovering over the first error icon, the error is: cvc-elt 1 a: Cannot find the declaration of element 'project' The second error is: Downloading external resources is disabled Solution: Seems to be a bug in the IDE Simply change the URL as follows: OLD: https: maven apache org xsd maven-4 0 0 xsd
cvc-elt. 1: Cannot find the declaration of element web-app When I created new dynamic web project in Eclipse, automatically created web xml showed the following error: cvc-elt 1: Cannot find the declaration of element 'web-app' and a red background on this line: