This happens when you have two dependencies that depend on different versions. Usually you don't get duplicate JARs. Can you make sure you deleted your src/main/webapp/WEB-INF/lib directory?
Matt On Tue, Apr 8, 2008 at 10:41 PM, thinkboy <[EMAIL PROTECTED]> wrote: > > anyone has idea for a solution? pls advise. million thanks > > ~thinkboy > > > > > thinkboy wrote: > > > > what I did is only $mvn clean war:war > > > > then I will get multiple version of jars, pls advise. > > > > ~thinkboy > > > > > > Mike Horwitz wrote: > >> > >> If you have run mvn war:inplace at any stage please make sure that the > >> contents of WEB-INF/lib have been deleted under the source folder. > >> > >> Mike > >> > >> On 02/04/2008, thinkboy > >> <[EMAIL PROTECTED]<[EMAIL PROTECTED]>> > >> wrote: > >>> > >>> > >>> may I know how to upgrade jar's version without having multiple jar > >>> versions > >>> in WEB-INF/lib/? > >>> > >>> ---------- > >>> scenario: > >>> ---------- > >>> i am using version appfuse 2.0.1. in pom.xml configuration > >>> change from: > >>> <commons.fileupload.version>1.1.1</commons.fileupload.version> > >>> change > >>> to: <commons.fileupload.version>1.2.1</commons.fileupload.version> > >>> > >>> $mvn clean compile war:war > >>> > >>> then I will end up to have 2 different version of jars in /WEN-INF/lib > >>> 1. commons-fileupload-1.1.1.jar > >>> 2. commons-fileupload-1.2.1.jar > >>> > >>> pls advise > >>> -- > >>> View this message in context: > >>> > http://www.nabble.com/multiple-version-of-jar-appeared-in-WEB-INF-lib--after-upgrade-jar-ver-in-pom.xml-tp16445830s2369p16445830.html > >>> Sent from the AppFuse - User mailing list archive at Nabble.com. > >>> > >>> > >>> --------------------------------------------------------------------- > >>> To unsubscribe, e-mail: [EMAIL PROTECTED] > >>> For additional commands, e-mail: [EMAIL PROTECTED] > >>> > >>> > >> > >> > > > > > > -- > View this message in context: > http://www.nabble.com/multiple-version-of-jar-appeared-in-WEB-INF-lib--after-upgrade-jar-ver-in-pom.xml-tp16445830s2369p16579221.html > > > Sent from the AppFuse - User mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > 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]