maven - Eclipse showing missing jar when it's there -


i have added maven dependency folder in build path in eclipse it's showing jar files missing whereas still there when browse them nautilus. using ubuntu 12.04

i have added maven dependency folder in build path

you not add dependency folder yourself. if have installed m2e, maven automatically download dependencies , add them classpath.

but it's showing jar files missing

does "file-version.jar missing" or "class not found"?

when browse them nautilus

so, did put .jar-files somewhere in file system manually? if so, need use

<dependency>      ...     <scope>system</scope>     <systempath>../path/to/dependency.jar</systempath> </dependency> 

but recommended not use system-scoped dependencies. let maven download them, or install own dependencies locally using install target.

also, make sure refresh project. if have m2e installed, press [alt]+[f5] or right-click on project , selecet maven -> update project. re-download needed dependencies , plugins specified in pom.xml.


Comments

Popular posts from this blog

c# - Send Image in Json : 400 Bad request -

javascript - addthis share facebook and google+ url -

ios - Show keyboard with UITextField in the input accessory view -