蚀。(Eclipse. Copy JAR file into project)
如何将JAR文件包含(不仅仅是引用)到现有项目中? 我通过使用项目属性 - 构建路径 - 添加外部罐子来添加它。 但是,当我导出我的项目,然后将其导入另一台计算机时,此库缺失。
How to include (NOT ONLY reference) JAR file into existing project? I added it by using Project properties - Build path - add external jar's. But when I export my project, and then import it in another computer, this library was missing.
最满意答案
将其拖到项目视图中,以便与其他任何文件一样显示在项目中。
右键单击项目视图中的jar并添加到构建路径。
Drag it into your project view so it appears in the project as any other file.
Right-click the jar in the project view and add to build path.
更多推荐
发布评论