Reputation:
I have got two Java projects inside Eclipse. Now I want to use classes from project A in project B. I added project A to the build path of project B. But the classes are not available in project B.
What could be the reason for that problem? Did I do something wrong? What and how should I do?
Thanks in advance.
Update: The problem was that the classes to be imported were in the default package.
Upvotes: 5
Views: 7712
Reputation: 1806
Verify if in the build properties of Project A under the "Order and Export" tab you have the source folder checked.
Upvotes: 2