eclipse中想添加jar包时,打开pom.xml中的dependencies找不到本地repositrory里的jar包了.
解决办法.
Window --> Show View --> Other
输入maven
点击 Maven Repositories
右键点击 local repository 选择Rebulid Index即可
再点击Local Repositroy就能看到本地所有的jar包了.
[img]http://dl.iteye.com/upload/attachment/421437/9523b2d9-5b7d-3029-9e8e-71405fe226f2.png[/img]
解决办法.
Window --> Show View --> Other
输入maven
点击 Maven Repositories
右键点击 local repository 选择Rebulid Index即可
再点击Local Repositroy就能看到本地所有的jar包了.
[img]http://dl.iteye.com/upload/attachment/421437/9523b2d9-5b7d-3029-9e8e-71405fe226f2.png[/img]