On 17/07/10 12.50, Mark Thomas wrote:
On 16/07/2010 18:23, Edoardo Panfili wrote:
Hy,
I did I try with tomcat 7 uploading my application (that works fine with
6.0.26). the application does not starts up and I can see
The tag lib element is not correct. It should be:
<taglib xmlns="http://java.sun.com/xml/ns/javaee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
http://java.sun.com/xml/ns/javaee/web-jsptaglibrary_2_1.xsd"
version="2.1">
Note the difference in the xsi:schemaLocation
I changed the element but it raises the same error.
After that I removed the whole <taglib> element, now the file is
incorrect I know, but the exception is still there, with another one "he
markup in the document following the root element must be well-formed."
the second is comprensible for me. Is it possible that the error is in
another file?
Edoardo
----------------------------------
16-lug-2010 19.15.15 org.apache.catalina.startup.ContextConfig parseWebXml
GRAVE: Parse error in application web.xml file at
jndi:/localhost/application/WEB-INF/web.xml
java.lang.IllegalArgumentException: taglib definition not consistent
with specification version
----------------------------------
the start of taglib.tld is
------------------------------------
<?xml version="1.0" encoding="UTF-8"?>
<taglib 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/javaee/web-jsptaglibrary_2_1.xsd"
version="2.1">
------------------------------------
and the start of web.xml is
------------------------------------
<?xml version="1.0" encoding="UTF-8"?>
<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
http://java.sun.com/xml/ns/j2ee/web-app_2_5.xsd" version="2.5">
------------------------------------
I did some try but none usefull (nothing also on goole).
Can I use taglib 2.1 with servlet 2.5? Where can I find this kind of
informations?
thank you
Edoardo
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org