摘要:开源项目整理 01)RuoYi 若依 若依Vue3版本前后端地址: https://github.com/yangzongzhuan/RuoYi-Vue3 https://gitee.com/y_project/RuoYi-Vue
阅读全文
摘要:mvn 下载依赖 pinyin4j 出错 Cannot resolve net.sourceforge.pinyin4j:pinyin4j:2.5.0 Cannot resolve net.sourceforge.pinyin4j:pinyin4j:2.5.0 SpringBoot 项目中处理 到h
阅读全文
摘要:SpringBoot 分环境打包 application.yml文件配置 spring: profiles: # 动态环境选择,对应pom.xml文件中 <properties> <env>dev</env> </properties> active: @env@ pom.xml 文件配置 <pro
阅读全文
摘要:mybatis-generator 自动生成dao、sql.xml、实体类 01)pom引入 <build> <plugins> <!-- 自动生成了dao、sql、xml、实体类 --> <plugin> <groupId>org.mybatis.generator</groupId> <arti
阅读全文
摘要:SpringBoot中文件二进制流下载功能Api 在 Controller 中写方法, PostMapping 和 GetMapping 都可以 方法一 通过ResponseEntity<InputStreamResource>实现 // 下载文件 PostMapping 和 GetMapping
阅读全文
摘要:springBoot中文件上传功能Api 01) 实现工具类FileUtil package com.example.fei.common.utils; import org.springframework.web.multipart.MultipartFile; import java.io.*;
阅读全文
摘要:Spring Boot测试数据库连接 @Autowired JdbcTemplate jdbcTemplate; @Test void fei3() { // 测试连接数据库 Long aLong = jdbcTemplate.queryForObject("select count(*) from
阅读全文
摘要:springboot 项目中_ 利用Filter去解决跨域问题 @Override protected void doFilterInternal(HttpServletRequest request, HttpServletResponse response, FilterChain chain)
阅读全文
摘要:spring boot 入门demo idea 使用 Spring Initializ 创建 Spring Boot 创建测试首页 自定义 logo: System.out.println("\033[35m 作者:大飞 \033[0m "); System.out.println("" + "\0
阅读全文
摘要:SpringBoot RocketMQ 整合使用和监控
阅读全文
摘要:java.lang.NoClassDefFoundError: Lorg/springframework/beans/factory/access/BeanFactoryReference;报错 java.lang.NoClassDefFoundError: Lorg/springframework
阅读全文