框架
LuckyGuyy
天道酬勤
展开
-
Gradle 安装与配置
1 安装 打开gradle官网 https://gradle.org/ 然后就会下载到最新版本的gradle压缩包,解压到你想安装的文件夹下即可。 2.环境变量的配置 此电脑(右击)-> 属性 -> 高级配置 -> 环境变量 在下边(系统变量)添加 GRADLE_HOME 值为 gradle的安装路径(这里最好复制) 再在系统变量中 path 中编辑添加%GRADLE_HOME%\bin就ok啦 3 检查Gradle是否安装成功 cmd进入命令提示符 敲入g原创 2020-06-12 09:20:21 · 1330 阅读 · 0 评论 -
SpringSecurity
原创 2020-08-31 22:43:57 · 58 阅读 · 0 评论 -
MyBatis Plus
官网: https://baomidou.com/ (是中文) 入门: https://www.jianshu.com/p/ceb1df475021 (看过很不错,讲解详细且清晰) 进阶: https://www.jianshu.com/p/a4d5d310daf8 (还没看)原创 2020-08-27 14:10:30 · 74 阅读 · 0 评论 -
Shiro入门 + 案例001
文章目录shiro架构内容shiro简单案例引入依赖Java类 shiro架构内容 Apache Shiro是一个Java安全框架,执行身份验证、授权、密码和会话管理(SpringSecurity 也是一款好用的Java安全框架可以对比学习)。 High-Level Overview Shiro’s architecture has 3 primary concepts: the Subject, SecurityManager and Realms.(shiro架构有三个主要概念Subjec原创 2020-06-11 09:17:44 · 220 阅读 · 0 评论 -
idea中maven依赖爆红的排查步骤
https://blog.csdn.net/weixin_41989775/article/details/89457798转载 2020-06-04 11:02:44 · 1606 阅读 · 0 评论 -
Mybatis 开启sql语句
文章目录mybatis 开启sql语句就可以在控制台打印出执行的sql语句1. spring集成mybatis打印sql语句(未验证)2. springBoot集成mybatis打印sql语句3.打印结果 mybatis 开启sql语句就可以在控制台打印出执行的sql语句 1. spring集成mybatis打印sql语句(未验证) 现在的spring-mybatis.xml配置如下: <b...转载 2020-04-09 09:09:25 · 1337 阅读 · 0 评论 -
SpringBoot-拦截器使用
这里我的需求是只有用户登录后才允许用户访问除登录页面的所有页面 先创建一个类实现Inteceptor接口,重写里边的(预先)拦截的那个方法pre啥啥那个,在方法内取出Session中存放的登录用户信息,如果没有就是未登录,那么久返回false,当返回true的时候,拦截器放行。 /* 登录拦截器 */ @Component public class LoginIntercepto...原创 2020-04-05 09:47:24 · 164 阅读 · 0 评论 -
Thymeleaf模板的简单使用(SpringBoot)
1.引入thymeleaf <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-thymeleaf</artifactId> </dependency> 2.Thymeleaf使用&a...原创 2019-12-30 14:00:12 · 270 阅读 · 0 评论 -
SpringBoot - Jpa
SpringBoot中使用SpringDataJPA https://www.cnblogs.com/wadmwz/p/10313495.html原创 2019-12-27 16:02:08 · 56 阅读 · 0 评论 -
快速搭建ssm-demo
com.lucky.controller package com.yulecha.controller; import com.yulecha.entity.User; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.RequestMapping; ...原创 2019-12-22 19:34:04 · 250 阅读 · 0 评论 -
xxMapping合集
@RequestMapping @GetMapping @PostMapping @PutMapping @DeleteMapping @PatchMapping原创 2019-11-29 10:42:07 · 547 阅读 · 0 评论 -
SpringBoot入门
SpringBoot基础 学习目标: 能够理解Spring的优缺点 能够理解SpringBoot的特点 能够理解SpringBoot的核心功能 能够搭建SpringBoot的环境 能够完成application.properties配置文件的配置 能够完成application.yml配置文件的配置 能够使用SpringBoot集成Mybatis 能够使用SpringBoot集成Junit 能够...原创 2019-10-22 15:42:39 · 518 阅读 · 0 评论