腾讯云
开发者社区
文档
建议反馈
控制台
登录/注册
首页
学习
活动
专区
圈层
工具
MCP广场
文章/答案/技术大牛
搜索
搜索
关闭
发布
文章
问答
(8409)
视频
沙龙
1
回答
ModelMapper
和
DozerBeanMapper
不
工作
|
Spring
Boot
REST
API
、
、
、
我正在开发
Spring
Boot
Rest
Api
。我有一个叫做"Wypozyczenie“的类,还有一个叫做"WypozyczenieDTO”的类。我尝试过
DozerBeanMapper
和
ModelMapper
,但它们都不能正确地转换我的对象。所有值都为空或零!我正在调试,但在应该进行转换的那一行,它不
工作
。下面是Wypozyczenie
和
WypozyczenieDto类(没有getter
和
se
浏览 17
提问于2018-02-01
得票数 0
1
回答
如何使用Google Cloud Endpoint仅配置一次Model Mapper?
、
、
、
、
到目前为止,我只使用过
Spring
boot
和
模型映射器。在
Spring
boot
中,我只需创建一次Bean,在其中配置模型映射器(类似于自定义转换器),然后返回它的一个实例。getInjector() { } import com.google.
api
.server.spi.guice.EndpointsModulebind(ServiciosEndpoin
浏览 34
提问于2019-10-22
得票数 0
回答已采纳
1
回答
从SpringBoot2.4升级到2.7可以在IDE中编译,但是当我部署时,我得到了NoClassDefFoundError
、
、
最近,我从
Spring
2.4.0切换到了2.7.0,以利用PEM证书的优势,当我编译它时,它
工作
得很好,但是当我部署到服务器并运行jar文件时,它给了我以下错误。pom.xml <groupId>org.springframework.
boot
</groupId> <groupId>org.spri
浏览 8
提问于2022-06-24
得票数 0
1
回答
如何在另一个
spring
引导项目中将本地
spring
引导项目添加为依赖项
、
、
、
以下是两个项目的build.gradle
和
settings.gradle pluginManagement { implementation 'org.springframework.
boot
:
spring
-
boot
-starter-data-
浏览 1
提问于2019-03-12
得票数 7
1
回答
用Gradle生成Querydsl类的问题
、
、
、
compile group: 'org.springframework.
boot
', name: '
spring
-
boot
', version: springBootVersion compilegroup: 'org.springframework.
boot
', name: '
spring
-
boot
-starter-logging', version: springBootVersioncompil
浏览 2
提问于2020-06-22
得票数 2
1
回答
Spring
引导没有加载bootstrap.properties文件
、
我试着以独立的方式编译
和
运行微服务,结果是一样的。 </parent> <groupId>es.myorg.trm.
api
.users</groupId>-- https://mvnrepository.com/artifact/org.<
浏览 8
提问于2021-01-10
得票数 0
回答已采纳
3
回答
Spring
异常:无法确定数据库类型NONE的嵌入式数据库驱动程序类
、
、
、
、
工作
台:Host: localhostServer: MySQL Community Server (GPL</groupId> <version>1.3.6.RELEASE</versiongroupId>org.springframewo
浏览 3
提问于2017-10-17
得票数 2
回答已采纳
1
回答
为什么不能解决导入org.springframework.data
、
、
:
spring
-
boot
-starter-web' implementation 'org.springframework.
boot
:
spring
-
boot
-starter-validation':<em
浏览 4
提问于2020-08-27
得票数 0
1
回答
用maven在
Spring
中升级log4j
、
、
、
</groupId> <version>2.5.1</version<dependency> <artifactId>
spr
浏览 1
提问于2022-01-03
得票数 0
回答已采纳
3
回答
为持久性单元“默认”关闭JPA Entity_Manage_Factory
、
、
、
、
我在尝试构建、编译
和
验证时没有出错。.__|_| |_|_| |_\__, | / / / / ::
Spring
Boot
::<dependency> <arti
浏览 7
提问于2021-10-18
得票数 3
1
回答
任务的分级执行失败:编译task‘
、
、
我在下面发布了Error StackTrace
和
Build.Gradle文件。Library for DTO // Importing
Spring
Boot
Dependencyimplementation('org.springframework.
boot
:
spring
-
boot
-starter
浏览 3
提问于2020-10-21
得票数 2
回答已采纳
1
回答
如何在postman中将多个字符串包装成单个字符串以调用
spring
boot
rest
API
Get请求
、
、
谁能帮助我如何在postman中将多个字符串包装成一个字符串,并调用
spring
boot
rest
API
。从postman开始,我通过GET请求调用
rest
API
在search
浏览 0
提问于2020-02-01
得票数 0
2
回答
webclient与Mono
和
Flux结合的问题
、
、
、
、
基本没有webclient,它可以
工作
,但如果与webclient在地图
工作
之后的
工作
。:
spring
-
boot
-starter-webflux'implementati
浏览 0
提问于2019-05-03
得票数 0
回答已采纳
1
回答
io/restassured/path/xml/mapper/factory/JAXBObjectMapperFactory :java.lang.NoClassDefFoundError
、
、
、
、
compile group: 'org.apache.commons', name: 'commons-dbcp2', version: '2.7.0' imp
浏览 1
提问于2020-11-16
得票数 3
回答已采纳
2
回答
从oracle-r2dbc版本0.4.0升级到1.0.0将导致在更新时类强制转换异常。
、
、
、
、
:
spring
-
boot
-starter-actuator:2.7.4') { } implem
浏览 46
提问于2022-10-05
得票数 0
4
回答
Spring
Boot
Admin客户端未注册
、
、
、
我有一个
spring
1.5.1服务
和
一个
spring
admin 2.0.1。 compile 'org.springframework.
boot
:
spring
-
boot
-starter-security:1.5.1.RELEASE' compile 'org.springframework.
boot
:
浏览 1
提问于2018-07-11
得票数 0
1
回答
Spring
不
初始化RestTemplate
、
、
、
我已经将两个
Spring
数据模块集成到我的应用程序中:
Spring
数据MongoDB
和
Spring
。虽然
Spring
模块
工作
起来很有魅力,但由于与RestTemplate连接相关的问题,这是与Redis交互所必需的,因此我正在与
Spring
进行斗争。<
modelmapper
.version>0.7.7</
modelmapper
.version> <junit.version>4.
浏览 1
提问于2017-11-09
得票数 2
1
回答
在春季启动的web项目中实现HATEOAS的最佳方法是什么?
、
、
、
我已经使用
Spring
引导开发了一个
REST
Api
。这些是到目前为止使用的依赖项:
spring
-
boot
-starter-hateoas --因为这是一个春季启动项目,我想这是个更好的选
浏览 0
提问于2019-03-16
得票数 0
4
回答
将CXF与
Spring
Boot
执行器配合使用
、
、
我正在开发一个web服务主机应用程序,其中使用了带有
spring
boot
的cxf。当我使用以下代码注册cxf servlet时,web服务端
工作
,我可以看到发布的wsdls。但是,在设置cxf servlet之后,
Spring
boot
执行器
和
rest
端点
不
工作
并返回404。我该如何解决这个问题?ServletRegistrationBean cxfServlet() { return new ServletRegistra
浏览 1
提问于2016-06-29
得票数 4
3
回答
Spring
Webflux返回404 (非Foud )
、
、
、
、
我必须使用
spring
Webflux以一种被动的方式保存一些值。但当我发送请求时,将返回404状态作为响应。pom.xml <dependency> <artifactId>
spring
-
boot
-starter-jersey</artifactId> <dependency
浏览 103
提问于2020-08-24
得票数 1
回答已采纳
点击加载更多
相关
资讯
使用Spring Boot和Kotlin创建RESTfull API
Spring Cloud 项目班第1课:REST和Spring Boot 入门,剖析微服务原理
译:基于Zuul、Redis和REST API实现动态路由的持久化及容错能力
基于Zuul、Redis和REST API实现动态路由的持久化及容错能力
Spring Boot与Kotlin使用Spring Data Rest创建HAL风格Restful接口
热门
标签
更多标签
云服务器
ICP备案
云直播
对象存储
即时通信 IM
活动推荐
运营活动
广告
关闭
领券