‘Client‘ is not allowed to run in parallel.Would you like to stop the running one?

简介: ‘Client‘ is not allowed to run in parallel.Would you like to stop the running one?

前言:


image.png


当我们学到网络编程的时候,测试的时候要开多个client来测试,但是默认idea一个类只能运行一次。 这时就需要我们自己进行设置



这是默认情况一个类只能运行一次


修改Edit Configuration


image.png


Allow multiple instances


image.png

image.png


测试


image.png

image.png


相关文章
|
4月前
|
Linux 开发工具
You could try using --skip-broken to work around the problem You could try running: rpm -Va --nofi
linux配置环境变量操作失误出现:/usr/libexec/grepconf.sh: line 5: grep: command not found 的解决办法
140 2
Error running Application. Command line is too long.
【2月更文挑战第2天】Error running Application. Command line is too long. 问题处理
|
6月前
|
Java Python
【已解决】RuntimeError Java gateway process exited before sending its port number
【已解决】RuntimeError Java gateway process exited before sending its port number
293 0
|
网络安全 开发工具
【解决方案】A session ended very soon after starting. Check that the command in profile “XXX” is correct.
【解决方案】A session ended very soon after starting. Check that the command in profile “XXX” is correct.
1030 0
【解决方案】A session ended very soon after starting. Check that the command in profile “XXX” is correct.
成功解决ConvergenceWarning: lbfgs failed to converge (status=1): STOP: TOTAL NO. of ITERATIONS REACHED L
成功解决ConvergenceWarning: lbfgs failed to converge (status=1): STOP: TOTAL NO. of ITERATIONS REACHED L
Starting a Gradle Daemon, 5 busy and 1 incompatible and 1 stopped Daemons could not be reused, use --status for details FAILURE: Build failed with an
执行gradle build出的问题,查看hs_err_pid11064.log日志文件发现,是电脑的RAM不足导致
4148 0