我想从postgresql实体中检索所有技能,并使用get方法将其发送到Angular front JSON请求我需要发送一个end.In object.How可以将检索到的值从postgresql对象转换成JSON对象吗?但是我想把它们作为JSON对象@RestControllerpublic class SkillsController {
@AutowiredSkillsRepository skillsRe
我使用spring引导1.5.2,我的弹簧rest控制器如下所示@RequestMapping("/")
public class HomeController {,但不会返回我的index.html,它位于src/main/resources或src/main/resources/静态下的maven项目中。如果我转到这个url ,它会返回我的index.h