java.lang.IllegalStateException

Failed to register @ServerEndpoint class: class org.nextrtc.examples.videochat_with_rest.MyEndpoint

Solutions on the web13963

  • via GitHub by TaekminKwon
    , 9 months ago
    Failed to register @ServerEndpoint class: class org.nextrtc.examples.videochat_with_rest.MyEndpoint
  • Failed to register @ServerEndpoint class: class com.samepinch.socket.EchoEndpoint
  • The SecurityManager implementation on this platform is broken; you must explicitly provide the class to register
  • Stack trace

    • java.lang.IllegalStateException: Failed to register @ServerEndpoint class: class org.nextrtc.examples.videochat_with_rest.MyEndpoint at org.springframework.web.socket.server.standard.ServerEndpointExporter.registerEndpoint(ServerEndpointExporter.java:148)[spring-websocket-4.2.5.RELEASE.jar:4.2.5.RELEASE]

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    You are the first who have seen this exception. Write a tip to help other users and build your expert profile.