@RestController 注解网页返回 [] ,出现的bug

@RestController 注解网页返回 [] ,出现的bug

java 复制代码
@RestController
@RequestMapping("emp")
public class EmployeeController {

    @Autowired
    private EmployeeService employeeService;

    @GetMapping("find")
    public List<Employee> find(){
        List<Employee> all = employeeService.findAll();
        return all;
    }
}

在all 这一步,都有数据但是在网页上显示 []

通过一步一步的查询是自己的lombok 包冲突了。

在父工程写了一个包,在子工程也写了一个包,所有没有正常显示,

所有请认真观察包的问题!!!

相关推荐
LabVIEW开发4 小时前
LabVIEW程序怎么解决 Bug?
bug·labview
优雅的小武先生5 小时前
QT中的按钮控件和comboBox控件和spinBox控件无法点击的bug
开发语言·qt·bug
酷酷-1 天前
彩虹易支付最新版源码及安装教程(修复BUG+新增加订单投诉功能)
html·php·bug
佛系小嘟嘟1 天前
Android-由switch-case和view.getId()引起的bug:错误:需要常量表达式 的解决办法
android·bug
未来可期LJ1 天前
【测试-BUG篇】软件测试的BUG知识你了解多少呢?
软件测试·bug
软件测试很重要1 天前
追梦无Bug的软件世界
bug
我又来搬代码了2 天前
【Android】【bug】ImageView设置scaleType不生效的问题
android·bug
吴恩达亲传弟子2 天前
【Bug】解决 Ubuntu 中 “error: Unable to Find Python3 Executable” 错误
linux·ubuntu·bug
john_hjy3 天前
8. Bug 与 Error
javascript·bug
鸽芷咕4 天前
【Python报错已解决】 Encountered error while trying to install package.> lxml
开发语言·python·bug