I have imported a maven project from a svn repository into the Intellij Idea 9.0 community edition. The main project has a number of sub-projects. The projects were imported as modules in IntelliJ. When I rebuild the top project using Build -->Rebuild project I see errors like java.lang.Object cannot be resolved. Similarly other JRE/ java SDK classes cannot be resolved. I have configured a SDK for the module project. This SDK has the src files as well as the compiled JRE class files for Object, String etc.
My question is .. Why is IntelliJ not finding these class files inspite of the SDK being listed as a dependency for the module.
All input is appreciated, What am I missing ?