We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hello!
i am getting this error:
The type io.socket.emitter.Emitter cannot be resolved. It is indirectly referenced from required type io.socket.client.SocketJava(16777563)
on this code:
try { // Initialize the Socket.IO client socket = IO.socket("wss://ds.fiskpay.com:42099"); // Handle connection socket.on(Socket.EVENT_CONNECT, args -> { System.out.println("Connected to FiskPay server."); }); // Handle disconnection socket.on(Socket.EVENT_DISCONNECT, args -> { System.out.println("Disconnected from FiskPay server."); }); // Handle custom events (example) socket.on("customEvent", args -> { System.out.println("Received custom event: " + args[0]); }); // Connect to the server socket.connect(); } catch (Exception e) { e.printStackTrace(); throw new RuntimeException("Failed to connect to FiskPay server", e); }
Any ideas why this is? Shouldn't the jar include the emitter? Should i build client.io and copy the emit from engine.io, in it?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hello!
i am getting this error:
The type io.socket.emitter.Emitter cannot be resolved. It is indirectly referenced from required type io.socket.client.SocketJava(16777563)
on this code:
Any ideas why this is? Shouldn't the jar include the emitter? Should i build client.io and copy the emit from engine.io, in it?
The text was updated successfully, but these errors were encountered: