) String[] xs = new String[] {"Dox","NonDox"};} //method for array of string
@GetMapping("/url") public String[] getArray(){ return employeeService.demo(); } //call in controller
我在spring中创建了一个Spring项目。即使添加了所有依赖项,它也不能解析@GetMappingGetMapping cannot be resolved to a typepackage tacos;
import org.springframework.web.bind.annotation.GetMapping;
i