Salve,
sto creando un web application in netbeans con del codice già esistente.
il file di configurazione web.xml mi viene segnato però con una x rossa in quanto segnala questo errore:
" cvc-complex-type.2.4.a: Invalid content was found starting with element 'load-on-startup'. One of '{"http://java.sun.com/xml/ns/j2ee":init-param}' is expected. "
guardando l'xml in esso contenuto vedo che il problema viene da :
"
<web-app xmlns="http://java.sun.com/xml/ns/j2ee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee web-app_2_4.xsd"
version="2.4">
"
come lo risolvo? a cosa è dovuto qst errore?