sunleo sunleo - 3 months ago 42x
Java Question

The import cannot be resolved in eclipse

Though I have all my source in proper packages.It couldn't find at the time of Building Project.Normally it shows links everything.But at the time of Build Project or Autobuild while directly running project.

The import ecnet.rd.config cannot be resolved

like it shows for all the internal imports.But external imports like imports from JAR files are working.

P.S :

My Eclipse latestly crashed but it was working well after that, Once again this kind of things are happening.

Please help to find the way to solve this.


In my experience, it is usual with Eclipse to have the build messed up. Make sure Build automatically is checked and Clean. If it doesn't work, restart Eclipse and do again.

Also as Tech Junkie comments below, try also Clean all projects.