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 <t...@paneris.org>
>À : Julien HENRY <henr...@yahoo.fr>; Usage problems for JWebUnit 
><jwebunit-users@lists.sourceforge.net>
>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
JWebUnit-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jwebunit-users

Reply via email to