开发技能TipsError普通端口占用

端口查看代码

jr插件错误 idea插件加载报错,插件缓存未清理,缓存被占用

The IDE failed to install or update some plugins.
Please try again, and if the problem persists, please report it
to https://jb.gg/ide/critical-startup-errors

The cause: java.nio.file.FileSystemException: 
C:\Users\wang\AppData\Roaming\JetBrains\IntelliJIdea2023.2\plugins\jr-ide-idea\lib\jrebel6\jrebel.jar: 
另一个程序正在使用此文件,进程无法访问。
  • 先查看下 PID 为 1932 的服务 是什么进程:

tasklist | findstr 1932

tasklist /fi "pid eq 2181"

可以看到是 NodeJS 的控制台进程

C:\Users\szh> tasklist | findstr 14396

node.exe                     14396 Console                    1    120,836 K

然后杀死进程使用以下指令:

taskkill /pid 1932 -t -f

-f 用来强制执行

Built with LogoFlowershow