Danny0802
Danny0802
已解决,在客户端的yml配置文件中,服务器的地址不要以 / 结尾,否则会请求不到服务器 错误配置:spring.ai.mcp.client.sse.connections.server1.url=http://localhost:8080/ 正确配置:spring.ai.mcp.client.sse.connections.server1.url=http://localhost:8080 Translation: > Solved. In the client's yml configuration file, the server address should not end with /, otherwise the server will not be requested. Wrong...
> 官网的样本上面只有stdio的,怎么都没有sse的?照着那个配置做的sse的好像有问题,这个模块还在孵化阶段吗?官网的 样本只有stdio,没有SSE的东西。我遵循了 SSE 的配置,但它似乎有问题。这个模块还处于孵化阶段吗? > > [spring-ai-demo] [onPool-worker-1] i.m.c.t.HttpClientSseClientTransport : Error sending message: 404 > Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'mcpSyncClients' defined in class path resource...
> > > 官网的样本上面只有stdio的,怎么都没有sse的?照着那个配置做的sse的好像有问题,这个模块还在孵化阶段吗?官网的 样本只有stdio,没有SSE的东西。我遵循了 SSE 的配置,但它似乎有问题。这个模块还处于孵化阶段吗? > > > [spring-ai-demo] [onPool-worker-1] i.m.c.t.HttpClientSseClientTransport : Error sending message: 404 > > > Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'mcpSyncClients'...