上一页 1 ··· 3 4 5 6 7 8 下一页
摘要: 一、安装nodejs 1、下载安装nodjs 2、切换淘宝镜像源 (1) 方式一:使用cnpm # 使用阿里定制的cnpm命令行工具代替默认的npm npm install -g cnpm --registry=https://registry.npm.taobao.org # 检测是否安装成功 c 阅读全文
posted @ 2021-05-23 21:34 金盛年华 阅读(940) 评论(0) 推荐(0)
摘要: git config --global user.name "xxx" 设置用户名 git config --global user.email "xxx@xx.com" 设置邮箱 git config --list 查看配置 git clone url 克隆远程版本库 git checkout - 阅读全文
posted @ 2021-05-16 16:23 金盛年华 阅读(31) 评论(0) 推荐(0)
摘要: SpringBoot Security入门 SpringBoot Security 可以为我们项目提供认证、授权功能。 一、认证 1、新建个工程 1.1 pom依赖 <!-- SpringBoot Security --> <dependency> <groupId>org.springframew 阅读全文
posted @ 2021-05-10 18:55 金盛年华 阅读(311) 评论(0) 推荐(0)
摘要: SpringBoot整合Mybatis 一、pom导入mybatis启动器 <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-web</artifactId> </depe 阅读全文
posted @ 2021-05-09 16:35 金盛年华 阅读(67) 评论(0) 推荐(0)
摘要: SpringBoot使用JDBC 一、pom引入jdbc启动器 <!-- jsbc启动器 --> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-jdbc</artifa 阅读全文
posted @ 2021-05-09 11:02 金盛年华 阅读(1397) 评论(0) 推荐(0)
摘要: idea常用设置 1、快捷键设置 File --> setting --> keymap basic :代码提示 Decrease Font Size:减小字体大小 Increase Font Size:增大字体大小 Delete Line:删除整行 Duplicate Line or Select 阅读全文
posted @ 2021-05-08 16:07 金盛年华 阅读(237) 评论(0) 推荐(0)
摘要: SpringBoot web 开发 1、寻找静态资源路径 WebMvcAutoConfiguration类 ,webmvc自动装配类 addResourceHandlers方法 protected void addResourceHandlers(ResourceHandlerRegistry re 阅读全文
posted @ 2021-05-08 16:04 金盛年华 阅读(77) 评论(0) 推荐(0)
摘要: SpringBoot 入门学习 1、创建spring boot项目 网页创建 Spring Initializr 在页面配置完直接下载工程即可 idea创建 2、原理初探 pom.xml spring-boot-dependencies:核心依赖在父工程中 我对门在引入一些spring boot依赖 阅读全文
posted @ 2021-05-08 16:01 金盛年华 阅读(62) 评论(0) 推荐(0)
摘要: SringBoot配置 springboot所有配置 1、配置文件 spring boot使用一个全局的配置文件,配置文件名称是固定的。配置文件的作用就是修改spring boot自动配置的默认值,因为在底层所有配置都是配置好的,这个文件只是用来修改。 application.properties 阅读全文
posted @ 2021-05-08 15:58 金盛年华 阅读(86) 评论(0) 推荐(0)
摘要: 1、SpringBoot启动会加载大量的自动配置类 2、我们看我们需要的功能有没有在SpringBoot默认写好的自动配置类当中; 3、我们再来看这个自动配置类中到底配置了哪些组件;(只要我们要用的组件存在在其中,我们就不需要再手动配置了) 4、给容器中自动配置类添加组件的时候,会从properti 阅读全文
posted @ 2021-05-08 15:56 金盛年华 阅读(46) 评论(0) 推荐(0)
上一页 1 ··· 3 4 5 6 7 8 下一页