Import cannot be resolved

I'm using IntelliJ IDEA 7.0M2.

When I add a new library, and reference an element from that library, i get the blue message indicating that I should press Alt+Enter to have the import added. It adds the import, so it must see it. However, when I go to compile I get errors that "the import com.mapitz cannot be resoved."

Library addition always seems to be hit and miss. I'm getting frustrated enough that I'm considering Eclipse.

1 comment
Comment actions Permalink

Resolved the issue. It seems that some "inherits" statements were missing from the xml file. It seems that sometimes IDEA puts them in automatically, and some times it doesn't.

0

Please sign in to leave a comment.