springboot
相信自己123123
这个作者很懒,什么都没留下…
展开
-
springMVC+thymeleaf form表单提交前后台数据传递
springMVC+thymeleaf 简单例子后端:@RequestMapping(value = "/add", method=RequestMethod.POST) public String save(@ModelAttribute(value="message") Message message) { ... } 前端:<form action="#" th:ac原创 2017-03-21 18:38:04 · 40340 阅读 · 9 评论 -
spring boot 中@Autowired注解无法自动注入的错误
spring boot 中@Autowired注解无法自动注入的错误在使用springboot main方法启动项目时遇到[@Autowdired]注解无法注入,网上查了很多资料也是一位网上的大神的一句话理通了思路:异常信息:异常信息:Action:Consider defining a bean of type 'com.boot.app.service.bootService' in your原创 2017-03-14 13:46:41 · 63737 阅读 · 10 评论