Tomcat サーバーが組み込まれた Spring を使用して、Web ソケット サブスクリプションを適切に機能させるのに問題があります。
このストンプ チャット アプリケーションを実行すると、次のエラーが表示されます。
org.springframework.messaging.MessageHandlingException: Expression evaluation failed: @chatRoomSessions[headers.simpDestination].add(T(reactor.tuple.Tuple).of(headers.simpSessionId, headers.simpSubscriptionId));
nested exception is org.springframework.expression.spel.SpelEvaluationException: EL1005E:(pos 58): Type cannot be found 'reactor.tuple.Tuple'
次の依存関係を追加しようとしました:
compile ("io.projectreactor:reactor-stream:$reactorVersion")
しかし、それは同じエラーを出しました。どんな助けでも大歓迎です。