我已经使用spark创建了一个用于教育目的的api端点。现在,我需要将此实现转换为springboot,并需要使用implementation.Following代码中的application...But参数,展示我是如何实现这两个请求的,如何使用来自springpackage com.spark2springboot.application;
public class spark2SpringbootTes
我尝试使用导入org.springframework.web.bind.annotation.RestController,但是这个导入语句没有被解析,我已经添加了that..but restcontrollerorg.springframework.web.bind.annotation.ResponseBody;@RestController
public class <em