I have few Scala projects which uses some common functionalities.
So for better maintenance, I have create a common project P1 with all the common functionalities and created the jar.
Then I have added the jar as external dependency to my all other projects. After importing the necessary classes from the jar, in my class, I see no error in eclipse.
But when I am trying to build the Jar for these other projects, it throws error saying : class/object that I am trying to import not found.
Surprisingly, when I am pointing the mouse to the functions that I am using from that external jar, it shows me the function signature accurately. But somehow, the jar building is failing. Any help?
I am using Eclipse Luna for Scala, Scala 2.11.8 in Windows 7 .