You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by maven apache <ap...@gmail.com> on 2009/09/25 03:59:58 UTC

Re: can not use the library which has been added to the maven dependency

Thanks,it works now.

2009/9/24 Marcos Lois Bermúdez <ma...@gmail.com>

> maven apache escribió:
>
>> Hi;
>> I have add a commons.configuration jar to the pom.xml of one module of my
>> application,then in the eclipse I found that I can not import the class in
>> the commons.configuration.jar,so I try to run "mvn install" to download
>> the
>> jar to local repository,and it works, in my local repository I found the
>> commons-configuration-1.6.jar.
>> So I start up eclipse again,try to use the jar again,but I still can not
>> import the jar,and I check the Maven Dependencies and the
>> commons-configuration-1.6.jar is not in the list.
>>
>>
> Hi,
>
> Are you trying ( Maven > Update dependecies)  into contextualk menu of the
> project?
>
> Regards.
>
>> I can not understand why. I have installed the jar.
>> Anyone can give some advice?
>>
>>
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>