📜  见鬼你的 ViewResolver 设置! (提示:由于默认视图名称生成,这可能是未指定视图的结果.) - 无论代码示例

📅  最后修改于: 2022-03-11 14:55:50.555000             🧑  作者: Mango

代码示例1
@RequestMapping(value = "/resturl", method = RequestMethod.GET, produces = {"application/json"})
    @ResponseStatus(HttpStatus.OK)
    @Transactional(value = "jpaTransactionManager")
    public @ResponseBody List findByResourceID(@PathParam("resourceID") String resourceID) {