5

There is nothing on left. It is a maven project. Why?

IntelliJ

Jonathan
  • 20,053
  • 6
  • 63
  • 70
juntao liu
  • 61
  • 1
  • 1
  • 3
  • See if https://stackoverflow.com/a/45244002/104891 helps. – CrazyCoder Aug 01 '17 at 15:43
  • thanks your answer . I tried 2017.2.1 version. but nothing happened. Should i change some thing in "Project Structure"? – juntao liu Aug 01 '17 at 16:15
  • Check the logs for exceptions, see http://stackoverflow.com/a/42427510/104891. – CrazyCoder Aug 01 '17 at 16:15
  • 2017-08-02 00:42:11,714 [ 396152] ERROR - terminal.emulator.JediEmulator - Unhandled Control sequence parsed :ESC[?2004l bytes read :ESC[ 2017-08-02 00:42:11,715 [ 396153] ERROR - terminal.emulator.JediEmulator - Error processing OSC 1;help 2017-08-02 00:42:11,718 [ 396156] ERROR - terminal.emulator.JediEmulator - Error processing OSC 1;..ts/work/test1 2017-08-02 00:42:11,741 [ 396179] ERROR - terminal.emulator.JediEmulator - Unhandled Control sequence – juntao liu Aug 01 '17 at 17:07
  • This error is not related. – CrazyCoder Aug 01 '17 at 17:08
  • solved it. I clean up intellij-idea's configuration,caches ,plugins and try 2017.2.1 version again. It works. Thank you. – juntao liu Aug 02 '17 at 03:03

6 Answers6

11

I solved this by selecting "Project" as view (by default i had "Project Files"). Hope this helped.

Project View VS. Project Files view

Luca
  • 111
  • 1
  • 3
10

I've had the same problem and narrowed it down to the following configuration that might have been messed up during the upgrade.

File (on Mac): ~/Library/Preferences/IntelliJIdea2018.1/options/projectView.xml

<application>
  <component name="ProjectViewSharedSettings">
    <option name="showLibraryContents" value="false" />
    <option name="showMembers" value="true" />
  </component>
</application>

Change/remove the showLibraryContents entry. This setting is no longer available in the UI, "External Libraries" are always shown.

Bogdan Calmac
  • 7,993
  • 6
  • 51
  • 64
4

I was facing the same issue on windows, i solved it by

right click on pom.xml > maven > reimport

Then reopen the project, It worked for me.

Atul Kumar
  • 51
  • 1
1

Deleting ./idea directory and re-importing the project worked for it.

Skillz
  • 308
  • 4
  • 10
0

Hmmm, it seems I have seen this same kind of thing recently. Check your module settings (right click on highest level folder - open module settings, or Command-;). Make sure you have one module if it is a single-POM project, and check the sources, paths, dependencies tabs and make sure they look right. I think I've seen this once when I created a module manually rather than letting intellij create one for the Maven module automatically.

That "recycle/refresh" icon on the far right pane you show - the Maven project pane - can also sometimes get it to fix things it didn't get right when you initially check out project.

Jim Weaver
  • 983
  • 5
  • 15
0
  1. If maven re-import does nothing, check your pom.xml for errors and try commenting out the offending ones (marked in red).

  2. In Intellij: Ctrl + Alt + Shift + S -> Select Modules and ensure that there is only one module. Delete the other ones.

  3. If all else fails: In Intellij, Select "Invalidate caches/Restart" -> Close Intellij -> Go to the project folder and delete .idea folder -> Reopen Intellij and "mvn clean install"

Melvin
  • 351
  • 4
  • 10