腾讯云
开发者社区
文档
建议反馈
控制台
登录/注册
首页
学习
活动
专区
圈层
工具
文章/答案/技术大牛
搜索
搜索
关闭
发布
精选内容/技术社群/优惠产品,
尽在小程序
立即前往
文章
问答
(9999+)
视频
沙龙
2
回答
Spring
boot
GET
数据类型
转换
不起作用
、
、
、
在尝试使用
Spring
boot
时,我遇到了以下异常。无法
转换
请求参数。这里我漏掉了什么?如何在
Spring
boot
中自定义请求
数据类型
转换
器?value = "/mypath/status", method = RequestMethod.
GET
</groupId
浏览 225
提问于2018-02-24
得票数 0
回答已采纳
1
回答
基于jdk.internal.loader.ClassLoaders$AppClassLoader的Azure函数-异常: ClassCastException:无法强制
转换
类Java
、
、
、
我是Java的新手。我已经用Visual Studio代码创建了最简单的Http触发Azure函数。代码默认来自模板和未修改。但是,当我在调用<code>C0</code>时遇到错误时<code>A1</code><code>B2</code>
浏览 72
提问于2020-03-14
得票数 0
回答已采纳
1
回答
Spring
Boot
应用程序- tomcat上找不到404
、
、
、
、
</groupId> <version>1.5.9.RELEASE</version</groupId> </depende
浏览 5
提问于2018-01-27
得票数 0
1
回答
如何通过jpa springboot获取jsonb列?
、
我有一个表,其中包含一个列'details‘作为jsonb
数据类型
。我想在
spring
boot
中编写一个jpa hibernate查询,以便在详细信息列中命名为== username时获取此记录。如下所示:此语法在
spring
boot
休眠查询中
不起作用</
浏览 12
提问于2019-03-28
得票数 1
回答已采纳
1
回答
如何在java中
转换
为object时跳过json的两个父节点
、
、
、
但json以两个初始节点"DEFAULT“开头,当我将json
转换
为json对象时,我想跳过这两个节点。我如何在java中做到这一点。我将在我的
spring
boot
应用程序中解析并使用它。
浏览 2
提问于2020-02-03
得票数 0
1
回答
如何声明4.1.0-RC1发布的
spring
-数据-弹性搜索
、
我使用了以下存储库,但它似乎
不起作用
implementation group: 'org.springframework.
boot
', name: '
spring
-
boot
-starter-data-elasticsearch> Could not
get
resource 'http://repo.
spring
.io/libs-release/org/springframework
浏览 1
提问于2020-09-29
得票数 0
回答已采纳
1
回答
Joda时间序列化(
Spring
Boot
1.3.1)
、
、
、
我不能用
spring
boot
1.3.1.序列化org.joda.time.DateTime类型的日期,我包含了以下依赖项:com.fasterxml.jackson.datatype
浏览 2
提问于2016-01-08
得票数 0
2
回答
除非明确指定,否则如何让
Spring
Data JPA默认地从camelCase命名为snake_case?
、
、
、
、
默认情况下,我的
Spring
Boot
项目通过将名称从camelCase
转换
为snake_case (例如,从fooBar
转换
为foo_bar),让JPA将实体属性映射到表列。我听从了给的建议
spring
.jpa.hibernate.naming.physical-strategy=org.hibernate.
boot
.model.naming.PhysicalNamingStrategyStandardImpl现在成功地考虑了我的@Column,但是我在没有@Column注释的属性上
浏览 1
提问于2018-06-14
得票数 6
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
回答
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
2
回答
Hibernate ddl-auto=更新
不起作用
、
在我的
spring
boot
应用程序中,我有以下设置server.port=9090
spring
.datasource.driverClassName=org.h2.Driver
spring
.dataso
浏览 2
提问于2016-09-24
得票数 3
回答已采纳
3
回答
未使用的
Spring
网络流量路由器函数
、
、
、
> routerFunction(UserResource userResource) {* TCP_NODELAY set> Dispat
浏览 3
提问于2018-04-12
得票数 1
回答已采纳
1
回答
spring
-
boot
指标vs.
spring
-cloud指标
、
我一直在使用
spring
-
boot
中的指标,对于
spring
-cloud似乎如何改变行为,我遇到了一些困惑。一个简单的最小
spring
-
boot
1.3.3版本的应用程序,带有执行器和单个控制器:public class HelloController { counter.status.200.metrics: 1,counter.statu
浏览 0
提问于2016-04-05
得票数 12
1
回答
DomainClassConverter在
Spring
Boot
中不工作
、
、
、
、
:找不到匹配的编辑器或
转换
策略 但是DomainClassConverter应该由
Spring
Boot
启用并管理
转换
。我还尝试通过@EnableSpringDataWebSupport注释显式地启用它,但它也
不起作用
。:
spring
-
boot
-starter-data-jpa' // implementation 'org.springframework.
boot
:
spring
-
浏览 11
提问于2020-07-10
得票数 3
2
回答
无法运行@Advice捕获异常块
、
、
这是我创建的Aop方面,以便在我的主应用程序抛出错误后运行。import org.aspectj.lang.annotation.Around;import org.springframework.stereotype.Component; @Aspect @Around(&
浏览 27
提问于2021-01-09
得票数 0
1
回答
Spring
Boot
使用1.5.6发布重新打包的子模块jar
、
、
、
我们已经将一个maven多模块项目
转换
为gradle,并且在发布
spring
boot
jar时遇到了一些问题。import org.springframework.
boot
.gradle.run.BootRunTask kotlin("jvm") id("org.springframework.
boot
:
spring
-
boot
-dependencies:${extra["springBoot
浏览 16
提问于2019-02-12
得票数 0
回答已采纳
2
回答
spring
-
boot
-starter jersey不会自动选择自定义的
转换
器类。
、
、
、
我用
spring
-
boot
-starter-jersey创建了一个示例项目。@Path("/
get
") Person p = new Person(); <artifactId>
spring
-
boot
-starter-parent</artifact
浏览 4
提问于2021-04-28
得票数 0
回答已采纳
2
回答
弹簧执行机构"/actuator“端点不可用
、
、
、
我创建了一个简单的示例项目,只有
spring
和
spring
执行器。我无法在这个项目中调用/actuator端点。在具有相同
spring
、
spring
和
Spring
-促进器版本的其他项目中,我到达了/actuator端点,但看不到差异。任何建议都会很好。提前谢谢。
浏览 1
提问于2017-06-10
得票数 2
回答已采纳
7
回答
无法在
Spring
中使用findOne()方法
、
我是
Spring
和Java的新手。下面是我的代码:在UserController中public User
浏览 9
提问于2016-04-14
得票数 6
回答已采纳
3
回答
如何使用@ConfigurationProperties注入java.nio.file.Path依赖
、
、
、
我正在使用
Spring
Boot
,并拥有以下组件类:@ConfigurationProperties(prefix="file") public class FileManager
浏览 5
提问于2015-06-26
得票数 8
点击加载更多
扫码
添加站长 进交流群
领取专属
10元无门槛券
手把手带您无忧上云
热门
标签
更多标签
云服务器
ICP备案
对象存储
云直播
腾讯会议
活动推荐
运营活动
广告
关闭
领券