struts-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nils-Helge Garli Hegvik" <nil...@gmail.com>
Subject Re: [S2] Failing tests in portlet webapp
Date Thu, 15 Nov 2007 23:03:20 GMT
Seems like velocity-tools-1.3 has an indirect or direct dependency to
a conflicting version of the servlet-api. I have added a dependency
exclude for velocity-tools. The tests pass on my computer now.

Nils-H

On 11/15/07, Nils-Helge Garli Hegvik <nilsga@gmail.com> wrote:
> The real error causing the tests to fail is this:
>
> 2007-11-15 14:30:05.515::WARN:  failed plutoPortalDriver
> 15-Nov-2007 14:30:05    java.lang.NoSuchMethodError:
> javax.servlet.ServletContext.getContextPath()Ljava/‚Äčlang/‚ÄčString;
> 15-Nov-2007 14:30:05            at
> com.bekk.boss.pluto.embedded.util.PlutoPortalDriverFilter.init(PlutoPortalDriverFilter.java:54)
>
> So the portlet container is not started. I'm guessing the problem is
> that for some reason, a conflicting version of the servlet api is on
> the classpath.
>
> Nils-H
>
> On 11/15/07, Antonio Petrelli <antonio.petrelli@gmail.com> wrote:
> > Hi all
> > It seems that a commit of mine (that fixed velocity dependencies)
> > triggered a failing test case in some way:
> > http://opensource.bamboo.atlassian.com/browse/STRUTS-MAINJ6-263
> >
> > I really don't know how it is possible. Can anyone who knows the
> > portlet sample webapp take a look at it?
> >
> > Thanks
> > Antonio
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
> > For additional commands, e-mail: dev-help@struts.apache.org
> >
> >
>
Mime
View raw message