Hi!
I am using netbeans to create a
servlet. I right click on a package, ->New -> Servlet. Then a popup window appears to prompt me for the Class Name. At the bottom of the popup, it says in red: Invalid deployment descriptor web.xml.
When I open my web.xml, it says: Fatal errors were found in web.xml file. It is highly recommended that you fix the errors in XML view (XML tab) as soons as possible. Try to validate the XML document to see the problem.
I ran validate and I got:
XML validation started.
Checking file:/E:/java/Myproject/branch/3/web/WEB-INF/web.xml...
Referenced entity at "nbres:/org/netbeans/modules/j2ee/ddloaders/catalog/resources/XMLSchema.dtd".
Referenced entity at "nbres:/org/netbeans/modules/j2ee/ddloaders/catalog/resources/datatypes.dtd".
XML validation finished.
Can anyone help? Many thanks.
My xml file is (sorry, it is quite long):