Springboot integrated permission management framework apache shiro

1. Explanation of terms There are a lot of them online 2. pom dependency <dependency> <groupId>org.apache.shiro</groupId> <artifactId>shiro-spring</artifactId> <version>1.2.2</version> </dependency> <dependency> <groupId>org.apache.shiro</groupId> <artifactId>shiro-ehcache</artifactId> <version>1.2.2</version> </dependency> encache is optional and is mainly used for caching during authentication. 3. shiroConfiguration The configuration of shiro is mainly the settings of shiroFilter and securityManager @Component public class ShiroConfiguration { <br> […]

Online grocery shopping system based on SpringBoot

Design and implementation of an online grocery shopping system based on SpringBoot, with front-end and back-end separation~ Development language: Java Database: MySQL Technology: SpringBoot + MyBatis + Vue Tools: IDEA/Ecilpse, Navicat, Maven System display Vegetable list Vegetable details Login interface Administrator interface Abstract The online grocery shopping system is an application based on modern technology […]

Implementation of Jenkins automated deployment of SpringBoot projects

This article mainly introduces the implementation of Jenkins automated deployment of SpringBoot projects. The article introduces it in detail through sample code and has certain reference value. Interested friends can refer to it. 1. Introduction to Jenkins 1.1, Concept Jenkins is an open source software project and a continuous integration tool developed based on Java. […]

SpringBoot dynamically configures scheduled tasks

pom.xml dependency <dependency> <groupId>org.quartz-scheduler</groupId> <artifactId>quartz</artifactId> </dependency> Add @EnableScheduling to the main startup class Table Structure — Timer related configuration table CREATE TABLE if not exists QRTZ_JOB_DETAILS( SCHED_NAME VARCHAR(120) NOT NULL, JOB_NAME VARCHAR(190) NOT NULL, JOB_GROUP VARCHAR(190) NOT NULL, DESCRIPTION VARCHAR(250) NULL, JOB_CLASS_NAME VARCHAR(250) NOT NULL, IS_DURABLE VARCHAR(1) NOT NULL, IS_NONCONCURRENT VARCHAR(1) NOT NULL, IS_UPDATE_DATA VARCHAR(1) […]

SpringBoot automatically configures preloaded classes-01

Get configuration class package com.xbm; import org.mybatis.spring.annotation.MapperScan; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.context.ConfigurableApplicationContext; @MapperScan(“com.xbm”) @SpringBootApplication(scanBasePackages = “com.xbm”) public class SpringBootWebApplication {<!– –> public static void main(String[] args) {<!– –> ConfigurableApplicationContext run = SpringApplication.run(SpringBootWebApplication.class, args); String[] beanDefinitionNames = run.getBeanDefinitionNames(); for (String beanName : beanDefinitionNames) {<!– –> System.out.println(“beanName:” + beanName); } } } operation result: beanName:org.springframework.context.annotation.internalConfigurationAnnotationProcessor beanName:org.springframework.context.annotation.internalAutowiredAnnotationProcessor […]

Springboot project log4j and logback Jar package conflict problem

Exception information keywords: SLF4J: Class path contains multiple SLF4J bindings. ERROR in ch.qos.logback.core.joran.spi.Interpreter@24:14 – no applicable action for [properties], current ElementPath is [[configuration][properties]] Detailed exception information: Connected to the target VM, address: ‘127.0.0.1:52687’, transport: ‘socket’ SLF4J: Class path contains multiple SLF4J bindings. SLF4J: Found binding in [jar:file:/C:/Users/xx/.m2/repository/ch/qos/logback/logback-classic/1.2.11/logback-classic-1.2.11.jar!/org/ slf4j/impl/StaticLoggerBinder.class] SLF4J: Found binding in [jar:file:/C:/Users/xx/.m2/repository/org/apache/logging/log4j/log4j-slf4j-impl/2.17.2/log4j-slf4j-impl-2.17.2 .jar!/org/slf4j/impl/StaticLoggerBinder.class] SLF4J: […]

Comprehensive performance comparison of SpringBoot physical threads, virtual threads, and Webflux!

A large number of articles evaluate the performance of a range of technologies (including Node.js, Deno, Bun, Rust, Go, Spring, Python, etc.) in simple “hello world” scenarios. Although these articles received favorable reviews, they all had one thing in common: they ignored the complexities of real-world development scenarios. This article aims to dissect various technologies […]

Graduation project springboot’s automatic course scheduling system

Development language: Java Java development tools: JDK1.8 Backend framework: SpringBoot Front-end: Vue, HTML Database: MySQL5.7 combined with Navicat management tool Server: Tomcat8.5 Development software: IDEA/Eclipse Package management tool: Maven Table of Contents 1. Project Introduction 2. System project screenshots 3.1 Front page 3.2Backend management, 3. Core code 4.1 Login related 4.2 File upload 4.3 Packaging […]