How to get Eclipse Java to set project dependency on project instead of JAR link

I have a Java Eclipse solution. There are 2 projects in this decision:

1 library project and 1 test project

Problem. Exact library project classes also exist in the specified jar file, and the test project tends to use the classes in the jar file instead of the library project in the same solution.

My pseduo solution was to remove the library classes in the specified jar file, and the test project successfully used the library project directly. However, I suspect there might be a better solution.

Thanks in advance.

+4
source share
1 answer

The following steps will help resolve this issue:

  • " "
  • .
+1

Source: https://habr.com/ru/post/1614553/


All Articles