【发布时间】:2012-10-13 15:49:45
【问题描述】:
我目前正在编写一个服务器套接字应用程序,您可以在其中通过线程池连接到多个客户端。
但是当我想编译 main 时,我得到:
我为什么会这样?我的 mainServer.java 中还有一个 main
感谢你的回答!!!
【问题讨论】:
-
文件的 Eclipse 视图可能与文件本身不同步。尝试重新启动并再次运行。
-
非常感谢您的评论!效果很好!!!
标签: java eclipse compiler-errors