Category Archive: Uncategorized

Jul 30

cvc-complex-type.2.4.a: Invalid content was found starting with element ‘url-pattern’

After JPA configuration and some change into configurations in Ecplipse IDE we get in trouble with our web.xml file. Eclipse reports this error: cvc-complex-type.2.4.a: Invalid content was found starting with element ‘url-pattern’. One of ‘{“http://java.sun.com/xml/ns/javaee”:web-resource-name}’ is expected.

Continue reading »