[OFFTOPIC] Maven 1.1 + tomcat plugin

C

Christine Mayer

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

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,756
Messages
2,569,535
Members
45,008
Latest member
obedient dusk

Latest Threads

Top