Cannot resolve symbol 'springframework'

I just started using IDEA and am running into a strange issue. I searched these forums and noticed that others had similar issues, but haven't been able to find a solution that will help me.

So the issue is with one particular class which for some reason IDEA doesn't seem to like. Many of my classes use Spring, so it baffles me that IDEA complains about this particular class.

Basically, it says that the import section is incorrect. I am importing some classes from Spring. This same project works fine in Eclipse.

I tried removing my idea directory, reimporting the project, reinstalling my JDK... I still can't get this to work.

This is a Maven project that builds fine. I am running on Ubuntu 32-bit with a 32-bit JDK.

Any thoughts on what the problem could be? See attached screenshot.


Any pointer to remove above error.. because I am facing the same issue as show in attachment



Hello Shive,

Do you see "org.springframework*" in module dependencies ("Project Structure | Module - Dependencies")? Is it possible to provide sample project for investigation?



Please sign in to leave a comment.