codecrucible

Caused by_ org.springframework.beans.factory.UnsatisfiedDependencyException_

Error message Caused by: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name ‘LogMapper’ defined in file [F:\sale\build\classes\java\main\com\sun\controller\mapper\LogMapper.class]: Unsatisfied dependency expressed through bean property ‘sqlSessionFactory’; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘sqlSessionFactory’ defined in class path resource [com/baomidou/mybatisplus/autoconfigure/MybatisPlusAutoConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.apache.ibatis.session.SqlSessionFactory]: Factory method ‘sqlSessionFactory’…

Read More

(2) RabbitMQ actual combat – rabbitmq high availability cluster construction

Preface This section is about the deployment and construction of a rabbitmq high-availability cluster. The centos7 system is used. We prepare three servers as rabbitmq's high-availability servers. The rabbitmq cluster itself does not naturally support high availability. We configure the mirror queue of the rabbitmq server. To ensure that messages can be replicated and stored…

Read More

[Literature] Ruby gene related literature

First publications He, Y., Zhang, T., Sun, H. et al. A reporter for noninvasively monitoring gene expression and plant transformation. Hortic Res 7, 152 (2020). https://doi.org/10.1038/s41438-020-00390-1 Ruby gene sequence The 2A peptide sequences of tobacco and Arabidopsis are different. How to design 2A peptide? We took advantage of the P2A peptide, which has the sequence of (GSGATNFSLLKQAGDVEENPGP), to link…

Read More

[Middleware Learning] Fluentd Basic Learning Tutorial

Article Directory *Introduction Install Recommended installation method: Mining pits with other installation methods Test verification learning process 1. Let’s first learn a simple collection example: 2. Learn the keyword configuration related to fluentd. Log access practice Summarize introduction Fluentd is a general data collection framework, usually used as a unified log processing platform. This article…

Read More

Super detailed front-end and back-end practical projects (Spring series plus vue3) front-end and back-end articles (4) (step-by-step implementation + source code)

Brothers, following yesterday’s code, continue to complete the final user module development, Yesterday I completed the user information editing page. I will improve it today. Let’s start from the backend. Make an interceptor to verify the user’s identity. Interceptor Let me explain it first: Let’s use the interview questions to elaborate: **Interceptor related interview questions:…

Read More

Detailed explanation of obtaining request parameters in SpringMVC

Article Directory Obtained through ServletAPI Obtain the request parameters through the formal parameters of the controller method 3、[@RequestParam ](/RequestParam ) 4、[@RequestHeader ](/RequestHeader ) 5、[@CookieValue ](/CookieValue ) Obtain request parameters through POJO Solve the garbled problem of obtaining request parameters Summarize In Spring MVC, there are many ways to obtain request parameters. Let's start with a…

Read More

Remember a springboot upgrade

Let me talk about the background first, because to use a springcloud component, springboot 2.1.17 must be upgraded to springboot 2.6.15 from the corresponding version. first step Replace parent <parent> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-parent</artifactId> <version>2.6.15</version> </parent> <dependency> <groupId>org.springframework</groupId> <artifactId>spring-context</artifactId> <version>5.3.8</version> </dependency> Those who are more stupid think that this is the end, start it directly and find…

Read More