Julien,

Thank you so much. Velocity 1.5 was a compile dependency and pulled in
commons-lang 2.1
http://melati.org/melati/dependencies.html

I have added an explicit declaration of commons-lang 2.6 and upgraded
to Velocity 17.
Looks like there are a few more dependencies to work through...

thanks again
Tim

On 19 August 2011 08:32, Julien HENRY <[email protected]> wrote:
> Hi Tim,
> HtmlUnit is using a method (startsWithIgnoreCase) from commons-lang that was
> introduced in commons-lang 2.4. If you declare only jwebunit deps you should
> have commons-lang 2.6 in your classpath.
>
> Please check that you have not overriden the version of commons-lang to
> something under 2.4. I can't check by myself because your CVS repository is
> not accessible (at least the web interface).
> Regards,
> Julien
>
> ________________________________
> De : Tim Pizey <[email protected]>
> À : Julien HENRY <[email protected]>; Usage problems for JWebUnit
> <[email protected]>
> Envoyé le : Vendredi 19 Août 2011 1h11
> Objet : Re: [JWebUnit-users] JWebUnit 3.0 released
>
> Hi Julien,
>
> On 18 August 2011 13:23, Julien HENRY wrote:
>> Hi all,
>>
>> JWebUnit 3.0 is released and should be already available for download on
>> Maven
>> central and Sourceforge.
>
> Congratulations, and thankyou for your rapid responses on this list.
>
> I have updated http://melati.org/ , which is built using Maven, from
> 2.2 to 3.0 and have a lot of new failures eg:
>
> java.lang.NoClassDefFoundError: Could not initialize class
> com.gargoylesoftware.htmlunit.WebClient
>         at
> net.sourceforge.jwebunit.htmlunit.HtmlUnitTestingEngineImpl.createWebClient(HtmlUnitTestingEngineImpl.java:804)
>         at
> net.sourceforge.jwebunit.htmlunit.HtmlUnitTestingEngineImpl.initWebClient(HtmlUnitTestingEngineImpl.java:813)
>
> also :
>
> java.lang.NoSuchMethodError:
> org.apache.commons.lang.StringUtils.startsWithIgnoreCase(Ljava/lang/String;Ljava/lang/String;)Z
>         at
> com.gargoylesoftware.htmlunit.util.URLCreator$URLCreatorStandard.toUrlUnsafeClassic(URLCreator.java:66)
>         at
> com.gargoylesoftware.htmlunit.util.UrlUtils.toUrlUnsafe(UrlUtils.java:193)
>         at
> com.gargoylesoftware.htmlunit.util.UrlUtils.toUrlSafe(UrlUtils.java:171)
>         at
> com.gargoylesoftware.htmlunit.WebClient.<clinit>(WebClient.java:162)
>         at
> net.sourceforge.jwebunit.htmlunit.HtmlUnitTestingEngineImpl.createWebClient(HtmlUnitTestingEngineImpl.java:804)
>         at
> net.sourceforge.jwebunit.htmlunit.HtmlUnitTestingEngineImpl.initWebClient(HtmlUnitTestingEngineImpl.java:813)
>
>
> I have not looked deeply into this, is this what you would expect? How
> much work will I have to do to upgrade?
>
> thanks again
> Tim
> --
> Tim Pizey
> http://pizey.net/~timp
>
>
>
> ------------------------------------------------------------------------------
> Get a FREE DOWNLOAD! and learn more about uberSVN rich system,
> user administration capabilities and model configuration. Take
> the hassle out of deploying and managing Subversion and the
> tools developers use with it. http://p.sf.net/sfu/wandisco-d2d-2
> _______________________________________________
> JWebUnit-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/jwebunit-users
>
>



-- 
Tim Pizey
http://pizey.net/~timp

------------------------------------------------------------------------------
Get a FREE DOWNLOAD! and learn more about uberSVN rich system, 
user administration capabilities and model configuration. Take 
the hassle out of deploying and managing Subversion and the 
tools developers use with it. http://p.sf.net/sfu/wandisco-d2d-2
_______________________________________________
JWebUnit-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jwebunit-users

Reply via email to