Hi Thomas,

I'm not sure I follow.  Where is the "StrLookup" reference?

The dependency for Velocity 1.5 should be Commons Lang 2.1.  Could something
else in your project be calling "StrLookup"?

WILLe

On 9/8/07, Hödl Thomas2 <[EMAIL PROTECTED]> wrote:
>
> Hello,
>
> there is a problem with the version of commons-lang in Velocity 1.5 pom:
> My pom.xml:
> [...]
> <dependency>
>   <groupId>velocity</groupId>
>   <artifactId>velocity</artifactId>
>   <version>1.5</version>
> </dependency>
> [...]
> causes: java.lang.NoClassDefFoundError:
> org/apache/commons/lang/text/StrLookup
>
> In 
> http://repo1.maven.org/maven2/velocity/velocity/1.5/velocity-1.5.pomcommmons-lang
>  version
> 2.1 is required:
> [...]
> <dependency>
>   <groupId>commons-lang</groupId>
>   <artifactId>commons-lang</artifactId>
>   <version>2.1</version>
> </dependency>
> [...]
> but StrLookup is available since commons-lang 2.2 (e.g.
> http://jsourcery.com/api/apache/jakarta/commons/lang/2.3/org/apache/commons/lang/text/StrLookup.html
> )
>
> I fixed it to force commons-lang >= 2.2 in my pom:
> [...]
> <dependency>
>   <groupId>commons-lang</groupId>
>   <artifactId>commons-lang</artifactId>
>   <version>2.3</version>
> </dependency>
> [...]
>
> Best reqards
> Thomas Hödl
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


-- 
Forio Business Simulations

Will Glass-Husain
[EMAIL PROTECTED]
www.forio.com

Reply via email to