xqlsrjjjh 最近的时间轴更新
xqlsrjjjh

xqlsrjjjh

V2EX 第 294570 号会员,加入于 2018-02-26 21:52:05 +08:00
越努力,越幸运
xqlsrjjjh 最近回复了
大佬,这么年轻就能做技术选型 架构了,收下膝盖~
2018-08-29 16:10:37 +08:00
回复了 guyeuro 创建的主题 问与答 pom 包里增加 fastjson 依赖后,测试程序出错
我也出现了这样的异常:
ResponseBodyAdvice.class] cannot be opened because it does not exist

原因是 pom.xml 使用的依赖是:

<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-web</artifactId>
<version>4.3.16.RELEASE</version>
</dependency>

改成下面这种就没问题:
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
</dependency>
确实管用~~~
关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   5470 人在线   最高记录 6543   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 17ms · UTC 09:07 · PVG 17:07 · LAX 02:07 · JFK 05:07
Developed with CodeLauncher
♥ Do have faith in what you're doing.