Wrote /root/JavaX-Caches/tmp_1043329643/main.java - 40540 bytes (written=40540, should be 40540) javac=0, ecj=1, useJarBot=0 Checking ECJ at port 4898 at 127.0.0.1 /root/jdk-17/bin/javac -source 1.8 -target 1.8 -nowarn -encoding utf8 -Xdiags:verbose -cp /root/.javax/x30.jar:/root/dexcompiler/android.jar:/root/dexcompiler/support-v4-22.2.1.jar:/root/javafx/javafx.base.jar:/root/javafx/javafx.graphics.jar:/root/javafx/javafx.swing.jar -d /root/JavaX-Caches/tmp_801756697 /root/JavaX-Caches/tmp_1043329643/main.java 2>&1
[Compilation Error]

Compiler errors. Medium transpile. Show Java sources. Show snippet. Edit.

/root/JavaX-Caches/tmp_1043329643/main.java:24: error: package javax.websocket does not exist import javax.websocket.*; ^ /root/JavaX-Caches/tmp_1043329643/main.java:63: error: cannot find symbol Session userSession = null; ^ symbol: class Session location: class WebsocketClientEndpoint /root/JavaX-Caches/tmp_1043329643/main.java:81: error: cannot find symbol public void onOpen(Session userSession) { ^ symbol: class Session location: class WebsocketClientEndpoint /root/JavaX-Caches/tmp_1043329643/main.java:93: error: cannot find symbol public void onClose(Session userSession, CloseReason reason) { ^ symbol: class Session location: class WebsocketClientEndpoint /root/JavaX-Caches/tmp_1043329643/main.java:93: error: cannot find symbol public void onClose(Session userSession, CloseReason reason) { ^ symbol: class CloseReason location: class WebsocketClientEndpoint /root/JavaX-Caches/tmp_1043329643/main.java:80: error: cannot find symbol @OnOpen ^ symbol: class OnOpen location: class WebsocketClientEndpoint /root/JavaX-Caches/tmp_1043329643/main.java:92: error: cannot find symbol @OnClose ^ symbol: class OnClose location: class WebsocketClientEndpoint /root/JavaX-Caches/tmp_1043329643/main.java:103: error: cannot find symbol @OnMessage ^ symbol: class OnMessage location: class WebsocketClientEndpoint /root/JavaX-Caches/tmp_1043329643/main.java:68: error: cannot find symbol WebSocketContainer container = ContainerProvider.getWebSocketContainer(); ^ symbol: class WebSocketContainer location: class WebsocketClientEndpoint /root/JavaX-Caches/tmp_1043329643/main.java:68: error: cannot find symbol WebSocketContainer container = ContainerProvider.getWebSocketContainer(); ^ symbol: variable ContainerProvider location: class WebsocketClientEndpoint 10 errors