compile error: The import xxxx cannot be resolved

Posted by Zachary on Stack Overflow See other posts from Stack Overflow or by Zachary
Published on 2010-06-15T13:55:34Z Indexed on 2010/06/15 15:22 UTC
Read the original article Hit count: 216

Filed under:
|

I am developing a Java project using Eclipse. The project uses another project called engine, which I have added in my project build-path. As I need to call a dabo class, called House, in one of my project class, named Window, I have used the following code as usual:

import ee.asus.kernel.House;

I got however the following error in compiling time:

Exception in thread "main" java.lang.Error: Unresolved compilation problems: 
The import ee cannot be resolved
House cannot be resolved to a type
House cannot be resolved to a type
House cannot be resolved to a type

at main.ee.asus.GUI.FrameWindow.Window.<init>(Window.java:10)
at main.ee.asus.GUI.StartApplication.main(StartApplication.java:13)

It's worth to point out that my prject and the dabo project use the same directory/packages names. Does anyone have a clue where the error may be?

© Stack Overflow or respective owner

Related posts about java

Related posts about eclipse