mybatis input parameter is a list of type integer if there is only a 0 in the list, do not Filter this property otherwise, this field in list ...
configuration file of how application.yaml in SpringBoot is referenced. spring: datasource: druid: url: ${jdbc.url} username: ${jdbc.username} where jdbc.url , jdbc.username is in another file jdbc.yaml . how ...
1. Build the demo of springboot manually. The project service layer auto injection does not show that it cannot be injected. But the method that calls the service layer will statement not found. Then the @ Qualifier () annotation is used, and the servic...
is there something wrong with idea s support for spring boot kotlin? use idea to develop spring boot applications. I used to use java,. Now I want to try kotlin (I learned kotlin a long time ago). the front end uses the thymeleaf template engine. ...
how is the traffic routing of ele.me double active project designed? API Router ...
how to use Fastjson, to only process the request message and not to process the return message, or to use the original processing method of SpringBoot? the code to add the Fastjson converter is as follows: @Bean public HttpMessageConverters f...
I hope to be able to perform setAttribute ( "key ", value) operation on request in filter of zuul, and then the downstream service can obtain data through request.getAttribute ( "key "); but the result does not happen as expected. Adding attribute to re...
< H2 > problem description < H2 > in the process of using feign, turn on the circuit breaker by configuring feign.hystrix.enabled=true . However, the fallback will be executed directly after startup and will not determine whether the call was success...
you want the general log to be recorded on both the screen and the file log.log, and the output level is INFO. <root level="INFO"> <appender-ref ref="CONSOLE" > <appender-ref ref="FILE" > < r...
use this.clearCachedAuthenticationInfo () to pass in tokens, and also execute this.clearCachedAuthorizationInfo () operation to empty the authorization information. The above two operations are the same principals . In Debug, it is found that the r...
SpringBoot project, deployed on linux, request.getHeader ( "SESSION_ID ") has been unable to get a value. but the same code works fine with eclipse under windows. Why? ...
The Debug in permission list filterChainDefinitionMap is as follows: filterorg.apache.shiro.web.filter.AccessControlFilter: subject.isPermittedDebug: error message: java.lang.IllegalArgumentException: Wildcard string cannot be null or empty. M...
recently there are a lot of major updates to springboot2, so I m going to take a look at spring-webflux s use of the built-in netty container as a startup container. although I have just encountered some holes in my hands, I have seen the effect as ...
the project always reports an error when calling the interface: org.thymeleaf.exceptions.TemplateInputException: Error resolving template " thymeleaf user ", template might not exist or might not be accessible by any of the configured Template Resolve...
spring boot sets the error level, but what is printed is debug? <logger name="org.apache.ibatis" level="error" > <logger name="java.sql" level="error" > < springProfile> ...
the materials found on the Internet built their own redis, and then built a simple springboot project to link to redis. Because the test machine has a password, there is no permission link to start the error report at the beginning, and the startup does...
when writing a simple boot Mini Program today, the automatic injection class was written as javax.activation.DataSource, for a long time. I suddenly find myself a stranger to this area. Can anyone explain the difference? ...
the current practice is that each module in the business layer and the WEB module exposed to the outside are uniformly released as JAR. Is there a better way to practice ? ...
Creating a new SqlSession SqlSession [org.apache.ibatis.session.defaults.DefaultSqlSession@79669d23] was not registered for synchronization because synchronization is not active Closing non transactional SqlSession [org.apache.ibatis.session.defaults.Def...
[resolved] using filterChainDefinitionMap, in shiro such as page remove requires page:remove permission, but you can also access it as long as you access page remove , except for writing multiple ....
String b = "abcd " String a = "a " String c = "bcd " String d=a+c system.out.println (dashed constants) false Why false should be true according to the principle that there is only one copy of the java string constant. what does the memory d...
I use vs code to write Linux c programs under Mac, and automatically Synchronize to my remote Linux server machine to compile and run tests. because you want to use the < epoll.h > library, the various constant definitions in it are not prompted unde...
waiting now, how to solve height: 54px; line-height: 54px; iPhone placeholder is normally centered vertically, while Android phone is on the upper side iPhone cursor is not normal ...
how do you do the topbar and sidebar of Aliyun website in the picture? All subdomains are the same, and the project for each domain name should be a different project, so how to load the same topbar and sidebar? Please do not hesitate to give us yo...
configured one master and two slaves, master write slave read, found that if a slave, or master, the system will not work, always trying to connect to the failed database. What about this situation? my goal from low to high is: 1 if you hang up one sl...