简体   繁体   中英

why eclipse not detect the jar file from lib folder

I am trying to develop java desktop application using eclipse and using some external jar file in project.

I have put that all jar file in /lib folder (this is desktop application so here /WEB-INF does not exist) now the problem is that the application cannot detect external jar file what is the problem ? and how I can solve this problem?

You need to add external jar file as :-

  Click Properties > Java Build Path > Libraries.
    Click Add External Jars and browse to the JAR file that contains the look and feel, then click OK. 
Now, you are ready to apply the new Look and Feel to your application.

You have add it to classpath as well. right click on project and click add to build project. click libraries tab and click external jar files. select your jar files. It will be added to classpath.

I think you have to inserti it. Rightclick in project properties build path, add external jar and browser to it.

just put jar file into the libs folder and abb to build path thats it. Updated eclipse not getting jar or configure file from the lib they get jar file from the libs folder.

您可以右键单击jar文件,然后选择“ Build Path ,然后选择“ add to build path

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM