当我像这样在spring mvc中放入模型时:
@RequestMapping(method = RequestMethod.GET)
public String createForm(Model model) {
model.addAttribute("item", new Item());
return "item/new";
}
IntelliJ 在相应的 JSP 页面中未解析 bean“项目”。我的意思是,它工作得非常好,但自动完成不能:/
在这种情况下有什么办法可以自动完成?