Re: M2 + jetty-plugin + sitemesh

2006-11-07 Thread Brett Porter
That looks right. The only difference is I have servlet-api 2.4, but that shouldn't matter. Perhaps one of the other dependencies pulls in a servlet API with a different ID? I know there have been some floating around. Run mvn with the -X flag and look for a servlet dependency that is not yours.

Re: M2 + jetty-plugin + sitemesh

2006-11-07 Thread noon
Hi Brett, This is how I set the servlet-dependency in pom.xml-file: javax.servlet servlet-api 2.3 provided Did you mean this or something else? Otherwise my pom.xml dependecies constist of (scope) - spring-2.0 (compile) - hibernate-3.1.

Re: M2 + jetty-plugin + sitemesh

2006-11-07 Thread Brett Porter
yes - see Maven Archiva or Continuum. The problem is likely that you have too many servlet APIs defined. Try setting the scope on any of your own to 'provided'. - Brett On 07/11/06, noon <[EMAIL PROTECTED]> wrote: Hi, Has anybody successfully used the M2 jetty6-plugin with projects that uses

M2 + jetty-plugin + sitemesh

2006-11-07 Thread noon
Hi, Has anybody successfully used the M2 jetty6-plugin with projects that uses e.g. sitemesh filters? The error message is: Embedded error: class com.opensymphony.module.sitemesh.filter.PageFilter is not a javax.servlet.Filter And here's an excerpt from my web.xml where I define the sitemesh f