‘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


相关文章
|
3月前
|
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 的解决办法
56 2
|
4月前
|
编译器
“Could not determine which ”make“ command to run. Check the ”make“ step in the build configuration.”
“Could not determine which ”make“ command to run. Check the ”make“ step in the build configuration.”
Error running Application. Command line is too long.
【2月更文挑战第2天】Error running Application. Command line is too long. 问题处理
|
网络安全 开发工具
【解决方案】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.
967 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不足导致
4133 0