腾讯云
开发者社区
文档
建议反馈
控制台
登录/注册
首页
学习
活动
专区
圈层
工具
MCP广场
文章/答案/技术大牛
搜索
搜索
关闭
发布
文章
问答
(5795)
视频
沙龙
1
回答
Spring
boot
websocket
发送
jsonstring
、
、
、
我是
spring
boot
的新手,我尝试使用
websocket
发回
jsonstring
,但我不认为它会返回正确的
jsonstring
格式。RMModel.getData().toString(); }所以我想把RMModel的
jsonstring
在
spring
boot
中返回<em
浏览 21
提问于2018-07-19
得票数 1
1
回答
@SqsListener不消费队列中的消息
、
、
、
、
我可以将消息
发送
到队列,但我的sqsListener没有读取和记录消息。dependencies { implementation'org.springframework.
boot
:
spring
-
boot
-starter-web' implementatio
浏览 45
提问于2021-09-28
得票数 2
2
回答
使用
Spring
启动的
websocket
的REST API
、
、
、
、
我可以将
WebSocket
与REST一起使用吗?如果我的问题不够聪明,我很抱歉,但我对这一切都是新手。
浏览 1
提问于2017-11-07
得票数 10
回答已采纳
5
回答
野生苍蝇中的
Spring
Boot
Websockets
、
、
、
、
嗨,我需要将我的
Spring
应用程序部署到Wildfly8.1中,我得到了以下例外: <parent> <artifactId>
spring
-
boot
-starter-parent>
spri
浏览 6
提问于2014-09-11
得票数 31
1
回答
为什么同样的
spring
websocket
客户端可以在桌面java应用程序中运行,但不能在android上运行?
、
、
、
、
我使用
Spring
websocket
编写
websocket
客户端: WebSocketClient webSocketClient = private StompSessionHandlerStompSessionChatHandler(); this.sess
浏览 41
提问于2021-04-17
得票数 0
2
回答
如何在java
spring
websocket
中实现乒乓
、
、
、
、
根据这里的文档,
websocket
必须用pong响应ping请求。我在这里发现,无法在java中处理ping消息。我对此有疑问- 如果是,我如何在
s
浏览 1
提问于2018-09-06
得票数 1
回答已采纳
1
回答
通过Tomcat
Websocket
使用
Spring
Boot
的ConnectionLostException
、
、
我有一个使用
Spring
Boot
1.3.0-BUILD-SNAPSHOT的Java Stomp
Websocket
客户端应用程序。这是我的pom.xml <groupId>org.springframework.
boot
</groupId> <artif
浏览 7
提问于2015-05-27
得票数 1
1
回答
使用
Spring
集成启动简单的
WebSocket
服务器
、
我试图在
spring
集成应用程序中启动一个简单的
websocket
服务器。由于下列依赖关系,我构建了我的应用程序: compile("org.springframework.
boot
:
spring
-
boot
-starter-integration") compile("or
浏览 2
提问于2016-02-14
得票数 0
回答已采纳
1
回答
版本
、
我试图在Tomcat 7上运行一个
Spring
应用程序,据我所知,它应该与Servlet3.0规范兼容。在我的受抚养人中,我按规定标记tomcat: <groupId>org.springframework.
boot
</groupId> <artifactId>
spring
-
boot
-starter-tomcatjavax.servlet.ServletContext.getVirtualServerName()Ljava&
浏览 4
提问于2015-09-09
得票数 3
3
回答
无法添加注释EnableWebSocketMessageBroker
、
、
我有一些
spring
引导REST,我需要将这个控制器的WebSocketController和WebSocketConfig添加到服务器上,以便使用REST +
websocket
:(没有配置附近的@EnableWebSocketMessageBroker,我的服务器可以工作,但我认为,没有MessageBroker,
websocket
就无法工作override fun registerStompEndpoints(regist
浏览 21
提问于2018-02-22
得票数 2
回答已采纳
1
回答
使用
Spring
的ClassCastException因为Tomcat ServerContainer
、
、
、
、
:
spring
-
boot
-starter-web") { exclude module: '
spring
-
boot
-starter-logging' compile("org.springframework.
boot
:
spring
-
boot</e
浏览 3
提问于2016-06-02
得票数 3
1
回答
代号One
WebSocket
+弹簧启动
关于代号One
Websocket
cn1lib,我看过你关于Whatsapp克隆的课程,然而你提出的代码是针对一个完整的应用程序的。您能否提供一个使用
Websocket
cn1lib的更简单的自封闭示例,其中包含客户端代码(代号为
发送
和接收消息的代码)和服务器端代码(
Spring
Boot
Java8用于接收和
发送
消息)?我特别感兴趣的是一个简单的
Spring
Boot
示例,它与Codename One交互,作为更好地理解和学习
websock
浏览 11
提问于2020-01-22
得票数 2
回答已采纳
2
回答
如何通过Security修复
Spring
应用程序中的“名为requestMappingHandlerAdapter的无效bean定义”错误
、
、
、
、
(SpringApplication.java:397) [
spring
-
boot
-2.1.3.RELEASE.jar:2.1.3.RELEASE] at org.springframework.
boot
.SpringAppli
浏览 1
提问于2019-05-01
得票数 2
回答已采纳
2
回答
Spring
boot
反应式应用程序启动tomcat代替Netty
、
、
我有一个
spring
boot
reactive应用程序,它是从
spring
starter生成的。<artifactId>
spring
-
boot
-starter-data-rest</artifactId> <dependency>
浏览 4
提问于2018-05-18
得票数 8
回答已采纳
3
回答
使用
Spring
+ gradle灵活部署AppEngine,Jetty
、
、
、
:
spring
-
boot
-gradle-plugin:1.3.5.RELEASE") classpath("org.springframework.
boot
:
spring
-
boot
-gradle-plugin:1.3.5.RELEASE"):
spring
-
浏览 2
提问于2017-04-03
得票数 0
回答已采纳
1
回答
在春季运行javax.
websocket
端点?
、
、
我通过以下教程实现了一个
websocket
服务器:import org.springframework.
boot
.SpringApplication;import java.io.IOException; import
浏览 5
提问于2020-05-05
得票数 2
回答已采纳
2
回答
无法写入完整的消息,因为
WebSocket
连接已关闭
、
、
我们使用@ Push (Transport= Transport.
WEBSOCKET
_XHR)启用了Vaadin。当UI分离时,我们会在日志中看到下面的异常。org.apache.tomcat.
websocket
.WsSession.doClose(WsSession.java:488) at org.apache.tomcat.
websocket
.WsSession.closeat org.atmosphere.container.version.JSR356
WebSocket
.close(JSR356<
浏览 3
提问于2016-03-26
得票数 0
回答已采纳
1
回答
Spring
Stomp websockets错误stompWebSocketHandlerMapping
我想通过套接字为我的web应用程序(
spring
)通信。我一直在遵循this文档,但是我得到了这个错误。有什么问题吗?
浏览 39
提问于2020-01-14
得票数 0
回答已采纳
3
回答
将
spring
示例应用程序部署到tomcat7
、
、
、
下面的教程帮助我启动了一个
spring
引导应用程序,并且运行得非常快:1)修改pom.xml,将打包更改为war,并按规定标记
spring
starter-
websocket
。<packaging>war</packaging> <dependency> <groupId>org.springframewo
浏览 6
提问于2015-03-09
得票数 0
4
回答
Spring
应用程序中的
Websocket
-获取403禁止
、
、
、
、
Spring
应用程序中的
Websocket
-获取403禁止 当我在eclipse中运行时,我可以从客户端连接到
websocket
(没有
spring
引导)。但是,当我为
websocket
代码创建
Spring
(Gradlew)并运行java -jar
websocket
-code.jar时,我会得到一个403个连接到
websocket
的错误。:
spring
-
boot
-gradle-plugin:1.2.5.RELE
浏览 8
提问于2015-09-30
得票数 35
回答已采纳
点击加载更多
相关
资讯
175.Spring Boot WebSocket:单聊
174.Spring Boot WebSocket:群聊-昵称
171.Spring Boot WebSocket:原理篇
Spring boot websocket制作一个简单的聊天室
Spring Boot:Spring Boot 邮件服务
热门
标签
更多标签
云服务器
ICP备案
即时通信 IM
对象存储
云直播
活动推荐
运营活动
广告
关闭
领券