‘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


相关文章
|
5月前
|
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 的解决办法
200 2
|
6月前
|
编译器
“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.”
|
Java Go API
译|Don’t just check errors, handle them gracefully(二)
译|Don’t just check errors, handle them gracefully(二)
101 0
|
程序员 Go API
译|Don’t just check errors, handle them gracefully(一)
译|Don’t just check errors, handle them gracefully
83 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.
1093 0
【解决方案】A session ended very soon after starting. Check that the command in profile “XXX” is correct.
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不足导致
4160 0