Intellij Error – Package name does not correspond to file path

Steps to followed-

  1. Delete all files with extension *.eml and *.iml from the project folder.
  2. Delete all hidden directories called .idea
  3. Remove the project from the start screen of Intellij
  4. Add the project again from scratch and import modules
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s