import java.net.*; public class NetServ { public static void main(String[] args) { ServerSocket s = new ServerSocket(); InetSocketAddress sa = new InetSocketAddress("127.0.0.1", 9999); s.bind(sa); s.close(); } } Exception in thread "main" java.lang.Error: Unresolved compilation problems: Unhandled exception type IOException Unhandled exception type IOException Unhandled exception type IOException at NetServ.main(NetServ.java:11)