Xcode cannot find a java class which I'm trying to extend <p>I'm working on a Java project which was written by someone else. This person made a hierarchy of folders inside the 'src' folder. I've added a new java class into one of those folders and defined it as 'XmlFile.java'. Then, I'm trying to have it extend a previously written class 'GenericFile.java' by writing</p> <pre><code>package //Same package GenericFile is in public class XmlFile extends GenericFile { ... } </code></pre> <p>When I try to compile the project it gives me the error </p> <pre><code>Cannot find symbol </code></pre> <p>and refers me to the line </p> <pre><code>public class XmlFile extends GenericFile </code></pre> <p>if I take out </p> <pre><code>extends GenericFile </code></pre> <p>everything compiles great.</p> <p>I also notice after adding the new file (XmlFile.java) I cannot delete it (the option in Edit->Delete is not selectable for that file, or for any files/folders created by the person from whom I got the project).</p> <p>Is there some sort of permission issue here or some hidden scope issue caused by the permissions being strange or what?</p> <p>Please help me</p> <p>Cheers, WhiteTiger</p>