Hello,
I have create a WebProject in MyEclipse and it has the following web.xml file in /WebRoot/WEB-INF folder:
<?xml version="1.0" encoding="UTF-8"?>
<web-app version="2.4"
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
http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
<display-name>Korzh.com devtools web app.</display-name>
<description>Korzh.com devtools web application.</description>
<welcome-file-list>
<welcome-file>index.jsp</welcome-file>
</welcome-file-list>
<taglib>
<taglib-uri>devpc</taglib-uri>
<taglib-location>/WEB-INF/tlds/devpc.tld</taglib-location>
</taglib>
</web-app>
Everythings seems should is defined well but MyEclipse shows an error on <taglib> row saying the following:
“Invalid content was found starting with element ‘taglib’. One of {then long list of possible tags follows} is expected.”
Would somebody be so kind to tell me the reason of this error?
Thanks in advance. Sergiy Korzh.