Hi,

I just updated from Maven 1.0.2 to Maven 1.1. In Maven 1.02 I used 
the tomcat plugin from codezar: maven-tomcat-plugin-1.1.jar. Using 
Maven 1.1, I typed in: maven tomcat:deploy 
This gave me the error: 
------------------------------------------------------------------------------- 
>> Error parsing project.xml 
>> 'MAVEN-HOME\cache\maven-tomcat-plugin-1.1\project.xml' 
>> ParseError at [row,col]:[44,11] Message: Unrecognised tag: 'id' 
------------------------------------------------------------------------------- 
So I went to the codezar website and updated the maven dependency to 
version 1.2. 
However, now, when calling maven tomcat:deploy 
------------------------------------------------------------------------------- 
>> Unable to obtain goal [tomcat:_jspc] 
>> org.apache.jasper.JasperException: 
>> file:MY-SOURCE-FOLDER/MY_JSP_FILE.jsp(1,1) The absolute uri: http 
://jakarta.apache.org/struts/tags-tiles cannot be resolved in either 
web.xml or the jar files deployed with this application file:MY-SOURCE- 
FOLDER/MY_JSP_FILE.jsp(1,1) The absolute uri:http://jakarta.apache.org/ 
struts/tags-tiles cannot be resolved in either web.xml or the jar 
files deployed with this application 
------------------------------------------------------------------------------- 
BUILD FAILED 

The file it complains about just contains the tag library definitions:
<%@ taglib prefix="tiles" uri="http://jakarta.apache.org/struts/tags-tiles"; %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"; %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"; %>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"; %>

I did some research on Google, and found out this error could have 
something to do with servlet api 2.3 vs 2.4 - however as far as I know 
I am using 2.4 in my web.xml. 
Any ideas what's wrong, and what I could do to fix it? (I am not 
allowed to move to Maven2, and I was told it wasn't so good anyway) 

Thanks in advance, 

Christine


-- 
Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen! 
Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to