腾讯云
开发者社区
文档
建议反馈
控制台
登录/注册
首页
学习
活动
专区
工具
TVP
最新优惠活动
文章/答案/技术大牛
搜索
搜索
关闭
发布
精选内容/技术社群/优惠产品,
尽在小程序
立即前往
文章
问答
(9999+)
视频
沙龙
1
回答
@
ControlerAdvice
在
spring
boot
中
不起作用
(
最新
)
、
我尝试用@ControllerAdvice注释截取自定义异常。@ControllerAdvice(basePackages = "{com.ciro.cotroller}")public class RestResponseEntityExceptionHandler extends ResponseEntityExceptionHandler { public final ResponseEntit
浏览 62
提问于2020-03-02
得票数 1
1
回答
ControllerAdvice的异常处理程序
在
使用
Spring
Boot
的Rest API Get请求
中
不起作用
。如何解决?
、
、
、
、
我有一个使用
Spring
Boot
的Rest控制器@RequestMapping("/api") @RequestMapping
浏览 136
提问于2021-07-10
得票数 0
1
回答
基于jdk.internal.loader.ClassLoaders$AppClassLoader的Azure函数-异常: ClassCastException:无法强制转换类Java
、
、
、
但是,当我
在
调用<code>C0</code>时遇到错误时<code>A1</code><code>B2</code>
浏览 72
提问于2020-03-14
得票数 0
回答已采纳
4
回答
使用springboot向类路径错误
中
添加一个实现,比如Hibernate Validator
、
、
、
、
我是
Spring
Boot
的新手,构建了我的第一个简单项目,但在运行应用程序时遇到了问题。 <artifactId>
spring
-
boot
-starter-parent</artifactId> <version>1.5.1.RELEASE</version<artifactId>
spring
-
boot
-starte
浏览 6
提问于2018-01-09
得票数 6
1
回答
在
spring
boot
2.0
中
添加到application.yml文件时,
spring
.jackson.default-property-inclusion=NON_NULL不工作
、
、
、
我正在尝试通过application.yml文件
在
应用程序级别添加jackson注释。但是当我运行应用程序时,jackson注释被忽略,响应也具有null属性。有人能帮我一下吗?我
在
application.yml
中
添加了下面这一行 包含:
spring
.jackson-property-inclusion: NON_NULL 即使在此之后,我仍然看到空值的响应。
浏览 480
提问于2019-02-15
得票数 2
3
回答
在
intellij idea
中
找不到
spring
boot
插件
、
、
我正在遵循一个教程,这个人展示了如何使用"
spring
boot
“支持插件创建一个配置,但这个插件对我来说是不可用的,既不在模板列表
中
,也不在我试图添加它的Marketplace
中
,教程是
在
MAC上,而我
在
这是本教程
中
的屏幕截图:
浏览 2
提问于2020-09-12
得票数 4
回答已采纳
1
回答
从AMQP属性映射到MessageHeaders时出错
、
、
、
但是,
在
与RabbitMQ通信成功消费消息时,日志中会显示以下警告。org.springframework.integration.mapping.support.JsonHeaders.getClassForValue(JsonHeaders.java:89) ~[
spring
-integration-coreorg.springframework.integration.mapping.support.JsonHeaders.buildResolvableType(JsonHeaders.java:72) ~[
spring
-integr
浏览 18
提问于2020-04-23
得票数 1
回答已采纳
1
回答
升级到
Spring
Boot
2.3.8.RELEASE后获取java.lang.NoClassDefFoundError: brave/internal/HexCodec
、
、
、
、
在
更新之后,
在
刷新
Spring
Config Server时,我的应用程序日志中出现了java.lang.NoClassDefFoundError: brave/internal/HexCodec。</groupId> <version</gr
浏览 117
提问于2021-06-23
得票数 0
4
回答
java.lang.IllegalStateException:从不支持的版本收到消息:[2.0 .0]最低兼容版本为:[5.0.0]
、
、
、
、
(SpringApplication.java:747) [
spring
-
boot
-1.5.2.RELEASE.jar:1.5.2.RELEASE] at org.springframework.
boot
.SpringAppli
浏览 1
提问于2017-08-22
得票数 5
1
回答
为什么我通过向根URL发出请求来获得对HAL浏览器的引用,而不是JSON+HAL响应?
、
、
我使用
Spring
Boot
1.4.0.RELEASE和
spring
-data-rest-hal-browser、
spring
-
boot
-starter-hateoas、
spring
-
boot
-starter-data-rest当我打电话的时候 curl -H "Authorization: Basic YWRtaW46YWRtaW4xMjM=" -G http://localhost:8080/api/v1
浏览 19
提问于2016-08-17
得票数 0
回答已采纳
1
回答
如何导入javax.validation以便在IntelliJ中使用?
、
、
有人知道如何在javax.validation中使用IntelliJ包吗?我用的是Gradle,这个包不会像我使用的其他东西那样自动导入。我还试着从jar网站下载它,但也没有用。
浏览 3
提问于2020-10-04
得票数 0
回答已采纳
2
回答
如何在
spring
应用程序
中
配置jetty最大标头大小
、
、
、
我有一个使用jetty服务器的
spring
应用程序。为了发送大尺寸的报头,我需要更改报头的最大大小。我将jetty添加到依赖项
中
,如下所示: <groupId>org.springframework.
boot
</groupId><artifactId>
spring
-
boot
-starter-jetty</artifactId> </depende
浏览 3
提问于2015-03-08
得票数 0
3
回答
Spring
数据JPA依赖关系错误
、
、
、
、
我的问题是当我使用下面的gradle依赖项配置时,我会得到一个错误compile 'org.springframework.
boot
:
spring
-
boot
-starter-thymeleaf:
spring
-
boot
-starter-security' compile 'org.thymeleaf.extras:thymeleaf-extras-springsecurity4:2.1.2.RELEASE-4.2.4.RELEASE.jar:4.
浏览 3
提问于2017-02-01
得票数 2
回答已采纳
2
回答
春启动应用程序一启动就关闭
、
<artifactId>
spring
-
boot
-starter-actuator</artifactId> <dependency> <artifactId>
spring
-
boot
-starter-d
浏览 5
提问于2020-10-29
得票数 1
回答已采纳
2
回答
Spring
boot
(1.3.6) + Hibernate(5.2.1)找不到依赖项的[org.hibernate.SessionFactory]类型的合格bean:
、
从单片应用程序转移到微服务时,
在
使用
Spring
boot
(1.3.6) + Hibernate(5.2.1)创建微服务时,我们得到了一个异常 org.springframework.beans.factory.NoSuchBeanDefinitionException
浏览 19
提问于2016-07-25
得票数 1
2
回答
我得到了"NoClassDefFoundError: org/apache/logging/log4j/util/ReflectionUtil“
、
、
、
、
我的build.gradle文件中有以下依赖项。compile group: 'org.apache.logging.log4j', name: 'log4j-core', version: '2.11.1'在运行我的单元测试时,将显示以下日志。 e
浏览 26
提问于2018-10-08
得票数 19
回答已采纳
1
回答
如何升级STS 3.6.3 for Eclipse以使用
最新
的
Spring
框架
、
非常有趣的是,Eclipse的
最新
Spring
工具套件继续使用过时的
Spring
Framework 3.1.1。可以将STS迁移到
最新
的
Spring
Framework吗?
浏览 0
提问于2015-02-22
得票数 0
2
回答
elasticsearch 5.6.3兼容
spring
data elasticsearch版本
、
我使用的是
spring
boot
1.5.7.RELEASE、
spring
-data-elasticsearch 3.0.2.RELEASE和elasticsearch 5.6.3。
浏览 2
提问于2018-01-03
得票数 1
3
回答
有
Spring
-
boot
和
Spring
-cloud的兼容性矩阵吗?
、
、
、
、
我
在
STS上创建了一个简单的项目,并且遇到了兼容性问题。<parent> <artifactId>
spring
-
boot
-starter-parent
中
使用1.5.2.RELEASE没有maven错误,但是当应用程序启动时,它会抛出NoClassDefFoundError。(SpringApplication.java:370)
浏览 0
提问于2017-03-08
得票数 63
1
回答
@Retryable
在
Spring
-
boot
-gradle-plugin上
不起作用
、
、
我正在尝试通过添加@Retryable
在
我的(
spring
boot
gradle plugin)应用程序
中
添加重试逻辑。到目前为止,我所做的是:classpath(group: 'org.springframework.
boot
', name: '
spring
-
boot
-starter-aopcallRetryMethod() {
浏览 0
提问于2016-08-18
得票数 2
点击加载更多
扫码
添加站长 进交流群
领取专属
10元无门槛券
手把手带您无忧上云
相关
资讯
在Docker中运行Spring Boot的高级功能测试
Spring Boot Idea中热部署
在deepin系统中利用eclipse搭建spring boot开发环境
如何将Spring Boot应用跑在Docker容器中
Spring Boot:在Azure上的部署
热门
标签
更多标签
云服务器
ICP备案
对象存储
腾讯会议
云直播
活动推荐
运营活动
广告
关闭
领券