Yep. It's a dependency on a non-released version of Commons Lang.

At one point we had 'Strings' 'Numbers' 'Bytes' etc, rather than
StringUtils.

Are you on an old version of Maven?

Hen

On Wed, 27 Aug 2003, Ben Walding wrote:

> (No idea what happened with that first one!)
>
> This is quite odd.
>
>  From my brief excursion into this, commons-util-final.jar does not have
> any calls to Strings. It uses calls to StringUtils.  The Strings class
> has been gone for a long time - commons-lang-0.1-dev
>
> unzip -l commons-lang-0.1-dev.jar | grep Strings
>     21452  03-07-02 13:30   org/apache/commons/lang/Strings.class
>
>
> So... I'd take a look at your $REPO/commons-util/jars/commons-util-final.jar
>
> The one I have has the MD5Sum -
> 42c089f726327a7f5ae6b2f3278bbd43  commons-util-final.jar
>
>
> Lester Ward wrote:
>
> >I'm doing a site generate and am getting a failure in the that ends with
> >this:
> >
> >BUILD FAILED
> >File...... file:/<yadda>/plugins/maven-linkcheck-plugin-1.1-SNAPSHOT/
> >Element... linkcheck:linkcheck
> >Line...... 73
> >Column.... 9
> >java.lang.reflect.InvocationTargetException
> >com.werken.werkz.UnattainableGoalException: Unable to obtain goal [site] --
> >file:/C:/Documents and Settings/lward/.maven/plugins
> >/maven-linkcheck-plugin-1.1-SNAPSHOT/:73:9: <linkcheck:linkcheck> null
> >        at com.werken.werkz.Goal.fire(Goal.java:646)
> >        at com.werken.werkz.Goal.attain(Goal.java:575)
> >        at com.werken.werkz.Goal.attainPrecursors(Goal.java:488)
> >        at com.werken.werkz.Goal.attain(Goal.java:573)
> ><...snip...>
> >Caused by: java.lang.NoClassDefFoundError: org/apache/commons/lang/Strings
> >        at org.apache.commons.util.XmlUtils.escapeXml(XmlUtils.java:68)
> >        at
> >org.apache.maven.linkcheck.LinkCheckResult.toXML(LinkCheckResult.java:112)
> >        at
> >org.apache.maven.linkcheck.FileToCheck.toXML(FileToCheck.java:299)
> >        at org.apache.maven.linkcheck.LinkCheck.toXML(LinkCheck.java:328)
> >        at
> >org.apache.maven.linkcheck.LinkCheck.createDocument(LinkCheck.java:236)
> >        at
> >org.apache.maven.linkcheck.LinkCheck.doExecute(LinkCheck.java:167)
> >        ... 65 more
> >
> >It would seem that my classpath is missing org.apache.commons.lang.Strings.
> >One question: where the %&*@ is this class? I assumed it to be in the
> >commons-lang jar, but it isn't in any of the ones in my repository
> >(including the one that the linkcheck plugin claims to use).
> >
> >A quick Google was not particularly helpful. Anyone else solved this
> >problem?
> >
> >Thanks,
> >Wordman
> >
> >---------------------------------------------------------------------
> >To unsubscribe, e-mail: [EMAIL PROTECTED]
> >For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
> >
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to