随笔分类 -  后端开发

摘要:在启动类加注解@ComponentScan("com.controller")即可,括号里表示Controller所在包名。 参考:https://blog.csdn.net/jialiang_chen/article/details/53871046 SpringBoot Controller找不 阅读全文
posted @ 2018-04-08 16:16 lvlin241 阅读(911) 评论(0) 推荐(0)
摘要:1、@SpringBootApplication:作用域主启动类 参考:https://docs.spring.io/spring-boot/docs/current/reference/html/using-boot-using-springbootapplication-annotation.h 阅读全文
posted @ 2018-04-08 14:20 lvlin241 阅读(106) 评论(0) 推荐(0)
摘要:参考:https://www.cnblogs.com/iyyy/p/8085719.html 若为maven项目:用maven更新下项目。 阅读全文
posted @ 2018-04-08 11:29 lvlin241 阅读(401) 评论(0) 推荐(0)
摘要:参考: 1. MyBatis传入多个参数的问题 http://www.cnblogs.com/mingyue1818/p/3714162.html2. MyBatis报错 Parameter '0' not found. Available parameters are [arg1, arg0, p 阅读全文
posted @ 2018-03-23 15:51 lvlin241 阅读(134) 评论(0) 推荐(0)
摘要:springboot搭建 参考:https://www.cnblogs.com/winner-0715/p/6666302.html springboot初次搭建,无法访问rest接口 参考:http://blog.csdn.net/weixin_39270764/article/details/7 阅读全文
posted @ 2018-03-09 18:55 lvlin241 阅读(126) 评论(0) 推荐(0)
摘要:语法 参考:http://www.mybatis.org/mybatis-3/zh/dynamic-sql.html <![CDATA[内容]]>: 参考: http://blog.csdn.net/qh_java/article/details/50755655 判断时没有else 参考: htt 阅读全文
posted @ 2018-03-09 15:59 lvlin241 阅读(116) 评论(0) 推荐(0)
摘要:参考:http://blog.csdn.net/shuangrenyu1234/article/details/24527745 阅读全文
posted @ 2018-03-08 10:30 lvlin241 阅读(256) 评论(0) 推荐(0)