springboot
枫叶
小白一枚
展开
-
spring boot(三)(纠错篇)
org.apache.ibatis.binding.BindingException: Mapper method 'com.example.springbootexam1.dao.UserRegister.insert attempted to return null from a method with a primitive return type (int). at org.apa...原创 2020-04-12 22:18:34 · 200 阅读 · 0 评论 -
springboot(二)
基于上篇springboot框架搭建的基础上,我们来做一个注册的小例子 一:添加依赖 在spring boot下我们用idea内置的tomcat,该tomcat不支持jsp文件需要添加依赖 <dependency> <groupId>org.apache.tomcat.embed</groupId> <art...原创 2020-04-12 14:54:38 · 91 阅读 · 0 评论 -
springboot(一)
建立springboot项目 1 2 3 4.选择依赖 (1)热启动 (2) 5.存储位置,finish 6.查看项目配置的maven是系统默认的,如果是修改为自己的 7 8.刷新 9.对于mysql的依赖,要手动添加版本信息 ...原创 2020-04-12 09:24:25 · 168 阅读 · 2 评论