Compiler Error J0166

Cannot access member 'identifier' in class 'identifier' from 'identifier' -- it is in a different package

The compiler detected an invalid attempt to reference a member variable or method defined within a different package. This error usually occurs when an attempt is made to access a protected or default access member defined within another package. Protected or default access members of a class located in a different package are not accessible. Ensure that the member you are attempting to access in another package is not a protected or default access member.