Having issues with referenced libraries in Eclipse

2019-08-21 20:13发布

I'm working on a side project at work creating a GUI in Eclipse (using Windowbuilder). Anyways, when I create a new Java/SWT project, it automatically adds the referenced libraries into the project (located in the plugins folder).

My issue is that I'm using git so I can work on my Macbook at home and my Windows computer at work, and that when I pulled the files to my Mac the libraries were pointing to the absolute path on my PC.

Any ideas how I can fix this?

1条回答
Ridiculous、
2楼-- · 2019-08-21 20:50

To fix this in eclipse, you can right click on the "Referenced Libraries" folder -> Build Path -> Configure Build Path. In the opened Properties setting box, you can fix the build path to point to correct location of libraries on your Macbook.

查看更多
登录 后发表回答