Closed hetong1989 closed 6 years ago
继承resful接口怎么进行Bean的形式传入参数? 接口:
@POST @Consumes(value = {MediaType.APPLICATION_JSON, MediaType.APPLICATION_XML}) @Produces(MediaType.APPLICATION_JSON) ResponseEntity find(User user);
client调用 ResponseEntity responseEntity = restfulService.find(new User(1L));
ResponseEntity responseEntity = restfulService.find(new User(1L));
报 javax.ws.rs.InternalServerErrorException: HTTP 500 Internal Server Error 错误
已经解决了, 是调用到其他人的服务端上去了
继承resful接口怎么进行Bean的形式传入参数? 接口:
client调用
ResponseEntity responseEntity = restfulService.find(new User(1L));
报 javax.ws.rs.InternalServerErrorException: HTTP 500 Internal Server Error 错误