samedi 9 mai 2015

Error in web.xml in tomcat v.7.0.61

I get the below error in web.xml near the server-url tag. Below is the web.xml

cvc-complex-type.2.4.a: Invalid content was found starting with element 'servlet-url'. One of '{"http://ift.tt/nSRXKP":url-pattern}' is 
 expected.

Following is the servlet-mapping tag in which the error occurs

<servlet-mapping>
        <servlet-name>appcontroller</servlet-name>
        <servlet-url>/appcontroller</servlet-url>
    </servlet-mapping>

How do i resolve this?

Aucun commentaire:

Enregistrer un commentaire