此API接受枚举batchStatus列表作为查询参数。此batchStatus将用于根据所有批处理的状态筛选它们。javax.validation.Valid @org.springframework.web.bind.annotation.RequestParam com.netshell.test.spring.conversion.rest.api.model.BatchStatusexception is java.lang.IllegalArgumentException: No enum constant com.netshe
/MyApp/rest/api/somethingB/all
我试过几样东西。最初,我将server.servlet.context-path设置为/MyApp/rest/api,而@RequestMapping只是将其设置为/,运行良好,但在/MyApp下无法返回任何内容。在玩了几次之后,我发现如果我把@RequestMapping of So