mybatis 核心类分析 问题: 解决: @startuml title SqlSession selectList SqlSession -> Configuration : getMappedStatement(statement) return ms SqlSession -> Executor : query(ms, wrapCollection(parameter), rowBounds, handler) Executor -> StatementHandler : prepare(connection, transaction.getTimeout()) StatementHandler -> Statement : new return stmt StatementHandler -> Executor : Statement stmt Executor -> StatementHandler : query(stmt, resultHandler) StatementHandler -> Statement : execute(sql) return StatementHandler -> ResultHandler : handleResultSets(statement) ResultHandler -> StatementHandler : result StatementHandler -> Executor : result Executor -> SqlSession : result @enduml 1234567891011121314151617181920212223242526 @startuml title SqlSession selectList SqlSession -> Configuration : getMappedStatement(statement)return ms SqlSession -> Executor : query(ms, wrapCollection(parameter), rowBounds, handler)Executor -> StatementHandler : prepare(connection, transaction.getTimeout())StatementHandler -> Statement : newreturn stmtStatementHandler -> Executor : Statement stmt Executor -> StatementHandler : query(stmt, resultHandler) StatementHandler -> Statement : execute(sql)return StatementHandler -> ResultHandler : handleResultSets(statement)ResultHandler -> StatementHandler : resultStatementHandler -> Executor : resultExecutor -> SqlSession : result @enduml … Read More
docker 跑 rabbitmq 问题: 解决: docker run -d -p 5672:5672 -p 15672:15672 --restart=on-failure --name rabbitmq_city -e RABBITMQ_DEFAULT_USER=aa -e RABBITMQ_DEFAULT_PASS=123456 rabbitmq:3-management 1 docker run -d -p 5672:5672 -p 15672:15672 --restart=on-failure --name rabbitmq_city -e RABBITMQ_DEFAULT_USER=aa -e RABBITMQ_DEFAULT_PASS=123456 rabbitmq:3-management … Read More
Error creating bean with name ‘mvcResourceUrlProvider’: Requested bean is currently in creation 问题: Caused by: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'org.springframework.boot.autoconfigure.web.servlet.WebMvcAutoConfiguration$EnableWebMvcConfiguration': Unsatisfied dependency expressed through method 'setConfigurers' parameter 0; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'apiSecurityConfig': Unsatisfied dependency expressed through field 'apiGlobalInterceptor'; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'apiGlobalInterceptor': Unsatisfied dependency expressed through field 'oAuthService'; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'OAuthServiceImpl': Unsatisfied dependency expressed through field 'tokenClient'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'com.telsafe.common.auth.api.TokenClient': FactoryBean threw exception on object creation; nested exception is org.springframework.beans.factory.BeanCurrentlyInCreationException: Error creating bean with name 'mvcResourceUrlProvider': Requested bean is currently in creation: Is there an unresolvable circular reference? at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredMethodElement.inject(AutowiredAnnotationBeanPostProcessor.java:723) ~[spring-beans-5.2.10.RELEASE.jar!/:5.2.10.RELEASE] at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:130) ~[spring-beans-5.2.10.RELEASE.jar!/:5.2.10.RELEASE] at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessProperties(AutowiredAnnotationBeanPostProcessor.java:399) ~[spring-beans-5.2.10.RELEASE.jar!/:5.2.10.RELEASE] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1420) ~[spring-beans-5.2.10.RELEASE.jar!/:5.2.10.RELEASE] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:593) ~[spring-beans-5.2.10.RELEASE.jar!/:5.2.10.RELEASE] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:516) ~[spring-beans-5.2.10.RELEASE.jar!/:5.2.10.RELEASE] at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:324) ~[spring-beans-5.2.10.RELEASE.jar!/:5.2.10.RELEASE] 12345678 Caused by: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'org.springframework.boot.autoconfigure.web.servlet.WebMvcAutoConfiguration$EnableWebMvcConfiguration': Unsatisfied dependency expressed through method 'setConfigurers' parameter 0; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'apiSecurityConfig': Unsatisfied dependency expressed through field 'apiGlobalInterceptor'; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'apiGlobalInterceptor': Unsatisfied dependency expressed through field 'oAuthService'; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'OAuthServiceImpl': Unsatisfied dependency expressed through field 'tokenClient'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'com.telsafe.common.auth.api.TokenClient': FactoryBean threw exception on object creation; nested exception is org.springframework.beans.factory.BeanCurrentlyInCreationException: Error creating bean with name 'mvcResourceUrlProvider': Requested bean is currently in creation: Is there an unresolvable circular reference? at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredMethodElement.inject(AutowiredAnnotationBeanPostProcessor.java:723) ~[spring-beans-5.2.10.RELEASE.jar!/:5.2.10.RELEASE] at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:130) ~[spring-beans-5.2.10.RELEASE.jar!/:5.2.10.RELEASE] at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessProperties(AutowiredAnnotationBeanPostProcessor.java:399) ~[spring-beans-5.2.10.RELEASE.jar!/:5.2.10.RELEASE] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1420) ~[spring-beans-5.2.10.RELEASE.jar!/:5.2.10.RELEASE] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:593) ~[spring-beans-5.2.10.RELEASE.jar!/:5.2.10.RELEASE] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:516) ~[spring-beans-5.2.10.RELEASE.jar!/:5.2.10.RELEASE] at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:324) ~[spring-beans-5.2.10.RELEASE.jar!/:5.2.10.RELEASE] 解决: … Read More
转:kubernetes集群:nexus搭建docker私有仓库及使用 https://www.cnblogs.com/zoujiaojiao/p/12468670.html &nb… Read More