我正在尝试使用 eclipse 并在项目中使用一些外部 jar 文件来开发 java 桌面应用程序。
我已将所有 jar 文件放在 /lib
文件夹中(这是桌面应用程序,因此这里 /WEB-INF
不存在)现在的问题是该应用程序无法检测到外部 jar 文件是什么问题?我该如何解决这个问题?
最佳答案
您需要添加外部 jar 文件:-
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.
关于java - 为什么eclipse无法从lib文件夹中检测到jar文件,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/22551236/