Eclipse internal error while initializing Java tooling

前端 未结 21 2334
爱一瞬间的悲伤
爱一瞬间的悲伤 2020-12-23 11:39

I am getting errors from Eclipse Indigo running on Windows 7 Ultimate. For each of the following items:

Android SDK content loader
Building workspace
Initial         


        
相关标签:
21条回答
  • 2020-12-23 11:45

    Just close the Eclipse or STS and restart it again. This may fix this error.

    0 讨论(0)
  • 2020-12-23 11:51

    Just change the following values at "eclipse.ini" file to the following:

    -Xms1024m
    -Xmx2048m
    

    Note:

    • You can find the "eclipse.ini" file by right click eclipse icon on and select "Open file location".
    • This error occurs because the eclipse is running out of memory, so we just increased the assigned memory for the eclipse application.
    0 讨论(0)
  • 2020-12-23 11:51

    Sometimes the issue is with the version of the Java installed. I was facing a similar issue when trying to start Spring Tool Suite on my Ubuntu 16.04. I had java 9 installed on my machine. I changed it to java 8. And it started working.

    0 讨论(0)
  • 2020-12-23 11:52

    In my case "MySQL service" is disabled. And I got same error.

    So if you are using MySQL then check for it.

    Press win+R then write services.msc and hit enter. Search for MySQL service. Start the service.

    0 讨论(0)
  • 2020-12-23 11:55

    I would just like to add, that simply closing and reopening eclipse has always worked for me with this type of error.

    0 讨论(0)
  • 2020-12-23 11:57

    In my case, I restarted my eclipse IDE without deleting/editing my workspace or .metadata folder. Error "An internal error occurred during: "Initializing Java Tooling". java.lang.NullPointerException" is gone and Eclipse just working good.

    0 讨论(0)
提交回复
热议问题