V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX  ›  xqlsrjjjh  ›  全部回复第 1 页 / 共 1 页
回复总数  3
大佬,这么年轻就能做技术选型 架构了,收下膝盖~
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   ·   我们的愿景   ·   实用小工具   ·   2262 人在线   最高记录 6543   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 15ms · UTC 03:41 · PVG 11:41 · LAX 20:41 · JFK 23:41
Developed with CodeLauncher
♥ Do have faith in what you're doing.