Spring+spring boot
文章平均质量分 77
Spring+spring boot
antRain
这个作者很懒,什么都没留下…
展开
-
spring security 使用记录
保证上下文使用的加密工具是一样的。手动根据结果修改密码。原创 2024-05-30 21:46:44 · 430 阅读 · 1 评论 -
Mybatis 使用记录
【代码】Mybatis 使用记录。原创 2023-12-14 19:38:25 · 165 阅读 · 0 评论 -
springboot+vue 问题记录
springboot+vue 问题记录mysql8安装redis连接邮件服务element-ui的样式问题element-ui组件vue记录近期使用springboot+vue开发项目的遇到问题,及其解决方案mysql8安装mysql8 的 my.ini 配置信息[client]# 设置mysql客户端默认字符集default-character-set=utf8 [mysqld]# 设置3306端口port = 3306# 设置mysql的安装目录basedir=# 设置 m原创 2021-04-19 11:02:49 · 504 阅读 · 0 评论 -
mybatis-plus自定义代码生成
mybatis-plus自定义代码生成项目结构BasePojoCodeGeneratorcontrollerInit.java.ftlInitUtilCommonResultResultCode问题项目结构该生成器代码是用于多个模块之间的生成BasePojo实体类的父类,减少字段的编写@Data@AllArgsConstructor@NoArgsConstructorpublic class BasePojo { // 主键 @TableId(type = IdType.原创 2020-09-17 20:24:23 · 603 阅读 · 2 评论 -
Springboot + vue 实现的简单CRUD
Springboot + vue 实现的简单CRUD前言运行截图UserController路由左侧菜单栏User用户列表axios获取到的数据问题前言使用Mybatis-plus 生成重复的代码 参考添加数据封装工具类添加fastjson配置、MybatisPlus分页配置、跨域配置vue-cli的配置参考运行截图UserController@RestController@RequestMapping("/users")public class UserController {原创 2020-08-15 21:26:40 · 1353 阅读 · 0 评论 -
vue-cli 配置
vue-cli 配置全局CLI配置 `vue.config.js``main.js` 入口文件配置全局css `global.css`App.vue全局CLI配置 vue.config.js项目的 (跟package.json 同级的) 根目录中存在这个文件会被 @vue/cli-service 自动加载。配置端口号,代理服务器module.exports = { outputDir: 'dist', /* 放置生成的静态资源 (js、css、img、fonts) 的 (相对于原创 2020-08-15 14:18:46 · 487 阅读 · 0 评论 -
springboot自己常用的工具类
springboot自己常用的工具类数据封装工具类分页工具类数据封装工具类Result需要下载lombok插件和导入依赖import java.io.Serializable;import lombok.Data;@Datapublic class Result implements Serializable{ private static final long serialVersionUID = -6691656851198107463L; private int原创 2020-08-15 11:08:25 · 2596 阅读 · 0 评论 -
springboot自己常用的配置类
springboot自己常用的配置类fastjson配置MybatisPlus分页配置跨域配置异常处理器fastjson配置import com.alibaba.fastjson.serializer.SerializeConfig;import com.alibaba.fastjson.serializer.SerializerFeature;import com.alibaba.fastjson.serializer.ToStringSerializer;import com.alibaba.原创 2020-08-15 10:50:38 · 545 阅读 · 0 评论 -
spring boot 使用Mybatis plus
spring boot 使用Mybatis plus代码生成器 pom.xml启动类代码生成器 pom.xml<?xml version="1.0" encoding="UTF-8"?><project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/PO原创 2020-08-11 14:57:35 · 346 阅读 · 0 评论 -
vscode 简单SSM框架Demo
vscode 简单SSM框架Demo项目结构配置文件pom.xmlweb.xmlspringmvc.xmlapplicationContext.xml.xml数据库文件分页工具类dao层service层controller层index.jsp项目结构 配置文件pom.xml<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.原创 2020-08-07 13:32:10 · 1860 阅读 · 2 评论 -
Rabbitmq使用记录
Redis和Rabbitmq使用下载Redis启动Rabbitmq启动springboot参考博客下载windows redis下载rabbitmq 需要Erlang,下载ErlangRabbitmq 下载Redis启动redis-server.exe redis.windows.confRabbitmq启动springbootspring: rabbitmq: ...原创 2020-04-05 12:04:33 · 836 阅读 · 0 评论 -
springboot学习笔记(一)——基础知识
springboot学习笔记(一)——基础知识启动类启动类@SpringBootApplication包括Spring的@Configuration:标明该类使用Spring基于Java的配置。Spring的@ComponentScan:启用组件扫描,Web控制器类和其他组件才能被自动发现并注册为Spring应用程序上下文里的Bean。Spring Boot 的 @EnableAu...原创 2020-03-22 19:20:51 · 288 阅读 · 0 评论 -
Springboot——restful实践前端 (ajax)
Springboot——restful实践前端 (ajax)前言前言前端代码参考github开源项目:springBoot-example-ui后端代码实践参考:Springboot——restful实践后端原创 2020-03-22 10:03:09 · 658 阅读 · 0 评论 -
Springboot——junit测试
Springboot——junit测试参考博客测试过程测试controller问题日志参考博客Spring Boot 2.x使用Mockito进行测试说一说在SpringBoot写单元测试遇到的坑测试过程RestfulApplicationTests.javapackage com.antrain.restful;import com.antrain.restful.contr...原创 2020-03-20 16:36:43 · 695 阅读 · 0 评论 -
Springboot——restful实践前端
Springboot——restful实践前端参考项目结构commonsadmincss参考[Springboot——restful实践后端(https://blog.csdn.net/qq_41146650/article/details/104975498)项目结构commons<!DOCTYPE html><html lang="en" xmlns:th=...原创 2020-03-20 09:47:56 · 488 阅读 · 0 评论 -
Springboot——restful实践后端
Springboot——restful实践数据库文件插入数据数据库文件CREATE DATABASE IF NOT EXISTS `db_test`;USE db_test;-- 管理员表CREATE DATABASE IF NOT EXISTS `db_test`;USE db_test;-- 管理员表CREATE TABLE IF NOT EXISTS `admin...原创 2020-03-19 20:17:03 · 491 阅读 · 0 评论 -
Spring & Spring boot 学习过程记录
Spring & Spring boot 学习过程记录,通过 测试类 debug 源码原创 2019-12-26 12:11:41 · 285 阅读 · 1 评论
分享