Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Can't access Classes in default package
Can't access Classes in default package [message #654193] Mon, 14 February 2011 14:46
No real name is currently offline No real nameFriend
Messages: 1
Registered: February 2011
Junior Member
Hi,

I have a problem with the default package.
Basically my project structure consists of three main classes which extend one abstract class in a package called simulation.
Yesterday I did a name change in the project and now my three main classes are put automatically in the default package, so they can't be visible by the class inside the simulation package and vice versa.
For the following code
import simulation.*;

class SSQSim extends Simulation{

}


I get these errors
"This class must implement the inherited abstract method Simulation.stop(), but cannot override it since it is not visible from SSQSim. Either make the type abstract or make the inherited method visible"
"The type Simulation is not visible"

Thank you in advance.
Previous Topic:Migrating a project from IntelliJ to Eclipse
Next Topic:SWT ScrollBar problem
Goto Forum:
  


Current Time: Fri Apr 19 21:40:12 GMT 2024

Powered by FUDForum. Page generated in 0.07690 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top