views:

198

answers:

1

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.

+1  A: 

Verify if in the build properties of Project A under the "Order and Export" tab you have the source folder checked.

Carlos