my own spring boot training project was fine before dinner yesterday afternoon, but I didn t do anything after I came back with a good log . Life and death just didn t work. Baidu spent the night looking for project structure . Log Code @Aspect ...
when I was testing with SpringBootTest, I found that the program would be started, causing the console test results to be flooded by the program output, and it would take time and resources to start the program. Is there any way to do SpringBootTest tes...
currently two projects, An and BMagee A, are running on another linux machine on the local and local area network, and the swagger is fine. Project B, running on the linux machine on the LAN, swagger is fine, but running on the local IDEA, the swagger p...
after spring cloud config integrates spring could bus amqp, there is a problem with org.springframework.integration.MessageDispatchingException: Dispatcher has no subscribers when accessing actuator bus-refresh The version I use is springboot:2.1.0....
incomplete log output incomplete under window and linux related codes Log output: 2019-01-29 01:16:42.214 [restartedMain] WARN com.netflix.config.sources.URLConfigurationSource - No URLs will be polled as dynamic configuration sources. 2019-01-2...
1. I am a rookie, in the process of learning springboot to do annotation mode of the full table fuzzy query, the result set of the query is always empty, but the sql statement in the navicat test can normally find the data, please answer the doubt, than...
at present, @ ApiModelProperty (hidden = true) hides the attribute in bean, but sometimes it takes certain conditions to hide the attribute such as updateCertainProp (Book book) {} interface, only some specified fields need to be updated, how to se...
problem description Development platform: MacOS, development tools: IDEA, using framework: SpringBoot problem: unable to read configuration in yml file, but it is possible to use properties file. the environmental background of the problem and the ...
Thank you. is an ordinary website, server, web page and so on. ...
the project uses the API of RestTemplate to request other projects. When requesting the upload interface, you need to do FileSystemResource resource = new FileSystemResource (new File (filePath)); convert the file to FileSystemResource. Now my file is ...
In springcloud micro-service, the gateway needs to carry two parameters, one is accessToken and the other is version version number, but the backend service does not need these two parameters. for example, the back-end service is originally like this ...
question: in the actual project, I use redis as the resource lock. Only the thread that acquires the lock is allowed to execute. And then finally release the lock. The thread was blocked for 16 minutes before the resource was released. try to solve:...
spring hibernate many-to-one relationship. When transmitting data from the front end to the background, why pass the attribute .id of the foreign key, such as logo.id? if you do not pass logo.id like this, but logo,spring in this way, you will get an er...
problem description the system will dynamically upload videos, which can be accessed by modifying the tomcat server.xml configuration file and "ip resources ", as shown in the figure below, but it needs to be restarted to take effect. How to allow ne...
@ Import ({WeChatInvokerConfiguration.class, WeChatImportSelector.class}) @ EnableConfigurationProperties (WeChatApiConfig.class) @ EnableRetry @ EnableScheduling @ Target (ElementType.TYPE) @ Retention (RetentionPolicy.RUNTIME) @ Documented publ...
< H2 > the cause of the problem < H2 > recently wrote a scheduled task using quartz . This scheduled task is mainly to add something like points to members, and to keep a record of points increase, which is executed at 4 o clock every morning, but s...
@Entity @Getter @Setter @ToString @Table(name = "order") public class Order { @Id private Long id; @Column(name = "account_id") private Long accountId; @ManyToOne(fetch = FetchType.EAGER) @JoinColumn(name = &q...
mysql> ALTER USER `db_example`@`%` IDENTIFIED BY qeW0zdszb vZjt4o ; ERROR 1819 (HY000): Your password does not satisfy the current policy requirements mysql> ALTER USER `db_example`@`%` IDENTIFIED BY qeW0zdszb tZjt4o ; Query OK, 0 rows aff...
problem description spring project, prompting error org.springframework.beans.factory.NoSuchBeanDefinitionException when referencing service: suspect that the problem is that service is not registered in spring. If you change the configuration of pa...
problem description update funds multiple times in a function, and transaction log needs to be recorded for each change. you need to re-query the changed Amount for each fund change. related codes long amountWX = 100; in...