spring - spring boot(web 和 web 服务)看到 405 错误
问题描述
我有一个带有典型 GET 端点的简单 Spring Boot 应用程序。一切正常(使用spring-starter web和jpa)。我还需要使用基于肥皂的 Web 服务并包含
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web-services</artifactId>
</dependency>
并通过其中一项服务调用 Web 服务以获取生成的复杂类型对象、所有代码并准备好进行测试。
我不断收到 405 错误。没有一个端点可以工作
有人在这里遇到了同样的问题,但没有提到修复
有人可以分享修复吗?谢谢,
解决方案
推荐阅读
- powershell - 如何重命名仅出现 1 次的文件?
- c# - EF 核心异步查询挂起,但同步有效
- r - 展开给定条件的行
- plesk - Plesk:域的日期不是服务器的日期
- excel - 将excel列作为字符串读取,即使它包含数值而不使用apache-poi进行格式化
- javascript - JavaScript preventDefault 影响孩子
- python - 类型字符变化的 DataError 值太长(100)
- spring - How can I secure Spring controller to not accept wrong type of path variables passes in URL?
- ruby-on-rails - ruby aasm gem:事件名称更改,但允许的方法仍然要求旧事件名称
- aws-glue - 如何使用 AWS Glue 访问和分析本地数据存储