Hi Grant, Grant Birchmeier wrote:
> If anyone can help, I'd appreciate it. This is driving me up the > wall. I tried googling, but I couldn't find what I needed. > > When I build, I get this error: > > --- > Couldn't find a version in [1.2.15, 1.2.16] to match range [1.2.13,1.2.13] > log4j:log4j:jar:null > --- [snip] > So if I have 1.2.13 in my repo, then why is maven only finding 1.2.14 > and 1.2.15? Actually you (in your project) or some of your dependencies declare version ranges for log4j and one requires log4j to be used exactly in version 1.2.13 while another say it must have log4j 1.2.15 or 1.2.16. This requirements can obviously not be fulfilled. As Anders already recommended, use a depMgmt section to override the version with the one you like to use, but you should probably ask the developers of the artifacts in question why they think they need exactly those versions. Find the artifacts with dependency:tree. - Jörg --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
