IDEA启动报错Internal error. Please report to http://jb.gg/ide/critical-startup-errors
报错内容:
Internal error. Please report to http://jb.gg/ide/critical-startup-errors
java.lang.NoClassDefFoundError: org/eclipse/xtext/xbase/lib/Exceptions
at delight.rhinosandox.internal.RhinoSandboxImpl.assertContextFactory(RhinoSandboxImpl.java:71)
at delight.rhinosandox.internal.RhinoSandboxImpl.evalWithGlobalScope(RhinoSandboxImpl.java:91)
at com.github.markusbernhardt.proxy.selector.pac.JavaxPacScriptParser.setupEngine(JavaxPacScriptParser.java:80)
at com.github.markusbernhardt.proxy.selector.pac.JavaxPacScriptParser.<init>(JavaxPacScriptParser.java:40)
at com.github.markusbernhardt.proxy.selector.pac.PacProxySelector.selectEngine(PacProxySelector.java:76)
at com.github.markusbernhardt.proxy.selector.pac.PacProxySelector.<init>(PacProxySelector.java:41)
at com.intellij.util.net.IdeaWideProxySelector.select(IdeaWideProxySelector.java:75)
at com.intellij.util.proxy.CommonProxy.select(CommonProxy.java:213)
at com.zeroturnaround.javarebel.idea.plugin.settings.IntellijProxyProvider.getProxyFor(IntellijProxyProvider.java:50)
at com.zeroturnaround.http.HttpClientHelper$3.determineProxy(HttpClientHelper.java:111)
at org.apache.http.impl.conn.DefaultRoutePlanner.determineRoute(DefaultRoutePlanner.java:76)
at org.apache.http.impl.client.InternalHttpClient.determineRoute(InternalHttpClient.java:124)
at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:183)
at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:82)
at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:106)
at org.zeroturnaround.jrebel.client.licensing.JRebelLicensingImpl.getApiJsonResponse(JRebelLicensingImpl.java:331)
at org.zeroturnaround.jrebel.client.licensing.JRebelLicensingImpl.access$100(JRebelLicensingImpl.java:43)
at org.zeroturnaround.jrebel.client.licensing.JRebelLicensingImpl$1.call(JRebelLicensingImpl.java:52)
at org.zeroturnaround.jrebel.client.licensing.JRebelLicensingImpl$1.call(JRebelLicensingImpl.java:47)
at org.zeroturnaround.jrebel.client.util.CachedValueKeeper.get(CachedValueKeeper.java:57)
at org.zeroturnaround.jrebel.client.licensing.JRebelLicensingImpl.isTrialRegistrationAvailable(JRebelLicensingImpl.java:239)
at org.zeroturnaround.jrebel.ide.common.ui.activation.LiveTrialInfo.checkTrialRegistrationAPIAvailable(LiveTrialInfo.java:72)
at org.zeroturnaround.jrebel.ide.common.ui.activation.LiveTrialInfo.isTrialRegistrationAPIAvailable(LiveTrialInfo.java:50)
at org.zeroturnaround.jrebel.ide.common.ui.activation.LiveTrialInfo.loadCache(LiveTrialInfo.java:37)
at org.zeroturnaround.jrebel.ide.common.CommonStartup.lambda$start$2(CommonStartup.java:197)
at org.zeroturnaround.jrebel.ide.common.CommonStartup$$Lambda$4.licenseStatusChanged(CommonStartup.java)
at org.zeroturnaround.jrebel.client.licensing.Watcher.broadcastLicensingStatusChange(Watcher.java:181)
at org.zeroturnaround.jrebel.client.licensing.Watcher.sendStatusChangeToInitialListenersAndRemove(Watcher.java:175)
at org.zeroturnaround.jrebel.client.licensing.Watcher.licenseStatusChanged(Watcher.java:164)
at org.zeroturnaround.jrebel.client.licensing.Watcher.updateLicensingState(Watcher.java:142)
at org.zeroturnaround.jrebel.client.licensing.Watcher.gotSomeLicensingStatus(Watcher.java:133)
at org.zeroturnaround.jrebel.client.licensing.JRebelLicensingImpl.getLicensingStatus(JRebelLicensingImpl.java:117)
at org.zeroturnaround.jrebel.client.licensing.Watcher.refreshLicenseStatus(Watcher.java:122)
at org.zeroturnaround.jrebel.client.licensing.Watcher.access$300(Watcher.java:20)
at org.zeroturnaround.jrebel.client.licensing.Watcher$1.run(Watcher.java:60)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.ClassNotFoundException: org.eclipse.xtext.xbase.lib.Exceptions
at com.intellij.util.lang.UrlClassLoader.findClass(UrlClassLoader.java:241)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
... 36 more
报错图为:
我尝试找org/eclipse/xtext/xbase/lib/Exceptions的地方,没找到,百度了和Google不同的错误,我猜想有可能是本机的网络让jrebel识别不到因此报错,网络没问题,因此我解决的是:
C:\Users%{用户}%.IntelliJIdea2018.3\config\plugins 删除Jrebel的插件
即可去启动IDEA成功啦,