IDEA2021启动失败问题
Internal error. Please refer to https://jb.gg/ide/critical-startup-errors
这个问题大部分情况下是因为修改过启动文件,然后升级版本后拒绝了覆盖启动文件的配置,要么等下次升级的时候同意覆盖文件,要么卸载重装,文中的方法有时候也会无效,最终我重装了其中一个版本就好了 注:我机子上安装了三个版本IDEA2018.3 .6 2020.3.3 2021.1.2(常用版),因为2021是通过2020升级得到的,前段时间开始,只要一重启电脑就经常会启动报错,后来重新下载了一个完整.exe安装文件,重新安装了一遍,目前还没出现过启动报错问题。 排除破解造成启动失败的问题 我的2020和2021版全是授权码方式激活,从未用过插件或者补丁激活 如果大佬有更好的解决方案,可推荐.
Internal error. Please refer to https://jb.gg/ide/critical-startup-errors java.util.concurrent.CompletionException: java.net.BindException: Address already in use: bind at java.base/java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:314) at java.base/java.util.concurrent.CompletableFuture.completeThrowable(CompletableFuture.java:319) at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1702) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:668) at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:665) at java.base/java.security.AccessController.doPrivileged(Native Method) at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1.run(Executors.java:665) at java.base/java.lang.Thread.run(Thread.java:834) Caused by: java.net.BindException: Address already in use: bind at java.base/sun.nio.ch.Net.bind0(Native Method) at java.base/sun.nio.ch.Net.bind(Net.java:455) at java.base/sun.nio.ch.Net.bind(Net.java:447) at java.base/sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:227) at io.netty.channel.socket.nio.NioServerSocketChannel.doBind(NioServerSocketChannel.java:134) at io.netty.channel.AbstractChannel$AbstractUnsafe.bind(AbstractChannel.java:550) at io.netty.channel.DefaultChannelPipeline$HeadContext.bind(DefaultChannelPipeline.java:1334) at io.netty.channel.AbstractChannelHandlerContext.invokeBind(AbstractChannelHandlerContext.java:506) at io.netty.channel.AbstractChannelHandlerContext.bind(AbstractChannelHandlerContext.java:491) at io.netty.channel.DefaultChannelPipeline.bind(DefaultChannelPipeline.java:973) at io.netty.channel.AbstractChannel.bind(AbstractChannel.java:248) at io.netty.bootstrap.AbstractBootstrap$2.run(AbstractBootstrap.java:356) at io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:164) at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:472) at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:500) at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:989) at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) ... 1 more ----- Your JRE: 11.0.10+9-b1341.41 amd64 (JetBrains s.r.o.) D:\IntelliJ-IDEA-2020.2\IntelliJ IDEA 2020.2.3\jbr
Your JRE: 11.0.10+9-b1341.41 amd64 (JetBrains s.r.o.)
D:\IntelliJ-IDEA-2020.2\IntelliJ IDEA 2020.2.3\jbr
libpng warning: iCCP: cHRM chunk does not match sRGB
解决方案:
1.临时解决方法: 重启电脑即可
2.永久解决方案:
管理员方式运行如下命令:
netsh winsock reset
运行完成之后重启电脑即可永久解决此问题!
3.检查下面两个选项有没有打开,如果打开,关闭就可以了
4.检查一下网络配置
关闭第三步的内容,这些网卡就会消失,即可正常启动
2021年7月5日
更新一种解决方案:
打不开IDEA 这种问题经常出现在重启电脑之后,今天我又遇见了: